Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 72.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 138.9 kB / 24.97 MB, free: 9.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9612/0.9612, allocations: 173.3 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.867e-05, allocations: 6.25 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002848/0.002876, allocations: 1.956 MB / 270 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.00387, allocations: 0.5647 MB / 270.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.003989, allocations: 3.938 kB / 270.6 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.004151, allocations: 47.47 kB / 270.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.004226, allocations: 31.66 kB / 270.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.004505, allocations: 67.8 kB / 270.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.00472, allocations: 219.1 kB / 270.9 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.004876, allocations: 44.56 kB / 271 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.005042, allocations: 99.72 kB / 271.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.005128, allocations: 63.73 kB / 271.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.005158, allocations: 12 kB / 271.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.005175, allocations: 12 kB / 271.2 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.005207, allocations: 31.84 kB / 271.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.005267, allocations: 59.83 kB / 271.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.005436, allocations: 119.4 kB / 271.4 MB, free: 3.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.00544, allocations: 4 kB / 271.4 MB, free: 3.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005441, allocations: 0 / 271.4 MB, free: 3.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.005446, allocations: 0 / 271.4 MB, free: 3.391 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005438/0.00599, allocations: 0.5074 MB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.006032, allocations: 8.922 kB / 271.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.006093, allocations: 36.8 kB / 271.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.00632, allocations: 183.9 kB / 272.1 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.006338, allocations: 12.38 kB / 272.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.006372, allocations: 12.38 kB / 272.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.006643, allocations: 173.5 kB / 272.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.00665, allocations: 0 / 272.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.006665, allocations: 4 kB / 272.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.006675, allocations: 4 kB / 272.3 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.006759, allocations: 47.41 kB / 272.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.007485, allocations: 0.6768 MB / 273 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.007646, allocations: 125.3 kB / 273.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.007701, allocations: 51.05 kB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.007719, allocations: 4 kB / 273.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.007744, allocations: 41.39 kB / 273.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.007745, allocations: 0 / 273.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002668/0.008012, allocations: 125.9 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.008058, allocations: 102.8 kB / 273.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.008207, allocations: 241.6 kB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.008223, allocations: 29.69 kB / 273.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.008307, allocations: 186.7 kB / 273.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.008351, allocations: 55.52 kB / 274 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.008399, allocations: 39.36 kB / 274 MB, free: 0.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.008554, allocations: 0.5041 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.008598, allocations: 11.98 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.008672, allocations: 96.39 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.008803, allocations: 117.4 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.008808, allocations: 4 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00018/0.008988, allocations: 141.3 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.009003, allocations: 4 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.009011, allocations: 4.047 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.009028, allocations: 3.984 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.009144, allocations: 35.92 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.009152, allocations: 7.984 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.0092, allocations: 7.953 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.009213, allocations: 12 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/0.009298, allocations: 172.6 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.009344, allocations: 23.84 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.009556, allocations: 138.7 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.009559, allocations: 4 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009564, allocations: 0 / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.009569, allocations: 3.984 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.009843, allocations: 192.5 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.009845, allocations: 0 / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/0.009942, allocations: 31.92 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.009946, allocations: 7.938 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.009967, allocations: 11.98 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.00997, allocations: 4 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.009971, allocations: 4.062 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.01032, allocations: 0.5216 MB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.01035, allocations: 35.67 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01037, allocations: 4 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.01047, allocations: 8 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.01051, allocations: 11.97 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.01052, allocations: 8 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.0106, allocations: 172.3 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0106, allocations: 4 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.01084, allocations: 39.89 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.607e-05/0.01094, allocations: 95.25 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.0111, allocations: 79.52 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01111, allocations: 0 / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.01117, allocations: 51.59 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01145, allocations: 16.31 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.01232, allocations: 0.5261 MB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.01238, allocations: 79.69 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.01243, allocations: 21.47 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.01247, allocations: 24.48 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01247, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Templates: time 0.003281/0.01575, allocations: 1.157 MB / 278.4 MB, free: 11.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.897327738115564]