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.001304/0.001304, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001301/0.001301, allocations: 188.3 kB / 23.71 MB, free: 4.188 MB / 14.72 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 1.449/1.449, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001628/0.001628, allocations: 43.92 kB / 370.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2711, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00329/0.2744, allocations: 1.904 MB / 425 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2754, allocations: 0.5454 MB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2755, allocations: 7.938 kB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.2757, allocations: 43.53 kB / 425.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.2758, allocations: 35.66 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.276, allocations: 63.86 kB / 425.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.2763, allocations: 199.2 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2765, allocations: 48.5 kB / 425.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2766, allocations: 83.64 kB / 426 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2767, allocations: 71.55 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.2767, allocations: 12 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.2768, allocations: 12 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.2768, allocations: 39.86 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.2769, allocations: 67.59 kB / 426.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.2771, allocations: 177.3 kB / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2771, allocations: 0 / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2771, allocations: 0 / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2771, allocations: 4 kB / 426.3 MB, free: 11.18 MB / 334.1 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.000697/0.2778, allocations: 429.2 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2778, allocations: 12.03 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.2779, allocations: 20.8 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2781, allocations: 186 kB / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2781, allocations: 8.375 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.2782, allocations: 15.94 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.2785, allocations: 164.1 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2785, allocations: 3.984 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2785, allocations: 4 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2785, allocations: 4 kB / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.2788, allocations: 83.95 kB / 427.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009052/0.2797, allocations: 0.5433 MB / 427.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.2799, allocations: 123.8 kB / 427.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.2801, allocations: 58.67 kB / 428 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2801, allocations: 0 / 428 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2801, allocations: 38.5 kB / 428 MB, free: 9.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.2801, allocations: 0 / 428 MB, free: 9.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005022/0.2806, allocations: 173.6 kB / 428.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.2807, allocations: 110.8 kB / 428.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.2809, allocations: 191 kB / 428.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2809, allocations: 25.7 kB / 428.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.281, allocations: 143.8 kB / 428.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.2811, allocations: 51.53 kB / 428.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.2811, allocations: 33.7 kB / 428.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2813, allocations: 334.8 kB / 429.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2814, allocations: 35.98 kB / 429.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2815, allocations: 98.86 kB / 429.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.2818, allocations: 146.7 kB / 429.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2818, allocations: 0 / 429.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003454/0.2821, allocations: 173.4 kB / 429.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2822, allocations: 8 kB / 429.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2822, allocations: 0 / 429.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2822, allocations: 4 kB / 429.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.2823, allocations: 39.91 kB / 429.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2824, allocations: 0 / 429.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2825, allocations: 20.08 kB / 429.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2825, allocations: 11.98 kB / 429.6 MB, free: 7.668 MB / 334.1 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 0.000116/0.2826, allocations: 129.7 kB / 429.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.2827, allocations: 23.84 kB / 429.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.2831, allocations: 174.6 kB / 429.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2831, allocations: 4 kB / 429.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2831, allocations: 0 / 429.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2831, allocations: 3.984 kB / 429.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.2835, allocations: 197.6 kB / 430.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2835, allocations: 4 kB / 430.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.2837, allocations: 35.92 kB / 430.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2837, allocations: 7.984 kB / 430.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2837, allocations: 4 kB / 430.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2837, allocations: 4 kB / 430.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2837, allocations: 0 / 430.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.2843, allocations: 477.8 kB / 430.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.2843, allocations: 19.8 kB / 430.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.2843, allocations: 12.06 kB / 430.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2845, allocations: 7.984 kB / 430.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2846, allocations: 11.98 kB / 430.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2846, allocations: 7.984 kB / 430.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.2847, allocations: 140.4 kB / 430.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2847, allocations: 0 / 430.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.2851, allocations: 32 kB / 430.9 MB, free: 6.332 MB / 334.1 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 0.0001145/0.2852, allocations: 99.19 kB / 430.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.2855, allocations: 122.5 kB / 431.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2855, allocations: 4 kB / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.2856, allocations: 59.84 kB / 431.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.286, allocations: 19.72 kB / 431.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2871, allocations: 0.6201 MB / 431.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.2873, allocations: 133.6 kB / 431.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.2873, allocations: 17.42 kB / 431.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.2874, allocations: 19.44 kB / 431.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2874, allocations: 0 / 431.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of Templates: time 0.004567/0.292, allocations: 1.314 MB / 433.3 MB, free: 3.879 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.651430068537593]