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.002512/0.002512, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.003488/0.003488, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 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 1.522/1.522, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 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 2.194e-06/2.194e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.499e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004064/0.004099, allocations: 1.937 MB / 269.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.005375, allocations: 0.5646 MB / 269.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.005539, allocations: 7.938 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.005739, allocations: 43.53 kB / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.005868, allocations: 35.59 kB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.006166, allocations: 67.8 kB / 269.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.006479, allocations: 211.1 kB / 270.2 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.006655, allocations: 56.55 kB / 270.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.006886, allocations: 95.78 kB / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.007021, allocations: 59.73 kB / 270.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.007065, allocations: 16 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.937e-05/0.007094, allocations: 12 kB / 270.4 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.007145, allocations: 35.84 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.007225, allocations: 51.83 kB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.007494, allocations: 175.3 kB / 270.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007497, allocations: 0 / 270.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007498, allocations: 0 / 270.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.007507, allocations: 4 kB / 270.7 MB, free: 3.367 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.0008612/0.008368, allocations: 0.5187 MB / 271.2 MB, free: 2.812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.008408, allocations: 8.922 kB / 271.2 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.008503, allocations: 40.73 kB / 271.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.008792, allocations: 184 kB / 271.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.00881, allocations: 8.375 kB / 271.4 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.008848, allocations: 12.38 kB / 271.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.00921, allocations: 180.7 kB / 271.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.00922, allocations: 4 kB / 271.6 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.009237, allocations: 4 kB / 271.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.009242, allocations: 4 kB / 271.6 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.00946, allocations: 87.89 kB / 271.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.01064, allocations: 0.7042 MB / 272.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.01094, allocations: 149.3 kB / 272.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.01107, allocations: 71.03 kB / 272.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.01109, allocations: 8 kB / 272.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.01113, allocations: 41.39 kB / 272.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.01113, allocations: 0 / 272.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005101/0.01164, allocations: 157.5 kB / 272.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.01173, allocations: 114.7 kB / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.012, allocations: 269.6 kB / 273.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.01202, allocations: 29.64 kB / 273.2 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.0122, allocations: 198.6 kB / 273.4 MB, free: 368 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.01226, allocations: 51.53 kB / 273.5 MB, free: 316 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.01234, allocations: 47.48 kB / 273.5 MB, free: 260 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.01261, allocations: 0.504 MB / 274 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01272, allocations: 35.98 kB / 274 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01289, allocations: 116.3 kB / 274.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.01318, allocations: 165.8 kB / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01318, allocations: 0 / 274.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000362/0.01354, allocations: 185.3 kB / 274.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01356, allocations: 4 kB / 274.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.01357, allocations: 4 kB / 274.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01359, allocations: 4 kB / 274.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.01379, allocations: 35.91 kB / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.01379, allocations: 192 / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.01391, allocations: 19.95 kB / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01393, allocations: 8.031 kB / 274.6 MB, free: 15.1 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 0.0001437/0.01408, allocations: 168.6 kB / 274.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.01416, allocations: 35.77 kB / 274.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.01463, allocations: 170.6 kB / 274.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01464, allocations: 0 / 274.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.01464, allocations: 4 kB / 274.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.01465, allocations: 3.984 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.01513, allocations: 220.5 kB / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01513, allocations: 0 / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.01531, allocations: 27.98 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.01532, allocations: 7.938 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.01534, allocations: 7.984 kB / 275.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01535, allocations: 0 / 275.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.01535, allocations: 7.938 kB / 275.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.01602, allocations: 0.5801 MB / 275.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.01607, allocations: 27.73 kB / 275.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01609, allocations: 4 kB / 275.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01626, allocations: 12 kB / 275.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.01632, allocations: 11.97 kB / 275.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01633, allocations: 4 kB / 275.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.01649, allocations: 200.2 kB / 276.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01649, allocations: 0 / 276.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.01687, allocations: 35.94 kB / 276.1 MB, free: 13.52 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 0.0001266/0.017, allocations: 103.2 kB / 276.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.01732, allocations: 123.6 kB / 276.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01732, allocations: 0 / 276.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.01746, allocations: 71.58 kB / 276.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.01789, allocations: 15.94 kB / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.01894, allocations: 0.5371 MB / 276.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.01909, allocations: 133.7 kB / 277.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.512e-05/0.01916, allocations: 17.47 kB / 277.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.01922, allocations: 24.48 kB / 277.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01922, allocations: 0 / 277.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Templates: time 0.004771/0.02399, allocations: 1.153 MB / 278.3 MB, free: 11.28 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","/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.743842577910982]