Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002241/0.002241, allocations: 115.2 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002431/0.002431, allocations: 213.5 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.54/1.54, allocations: 230.5 MB / 258.1 MB, free: 8.117 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 63.89 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.369, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00385/0.3729, allocations: 2.03 MB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3742, allocations: 0.6428 MB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3743, allocations: 7.938 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.3745, allocations: 39.53 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.3746, allocations: 35.66 kB / 434.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.375, allocations: 95.64 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.3753, allocations: 207.2 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3755, allocations: 44.39 kB / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3757, allocations: 87.62 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3758, allocations: 75.52 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3758, allocations: 12 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.3759, allocations: 23.98 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.3759, allocations: 31.84 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.376, allocations: 87.48 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3763, allocations: 181 kB / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3763, allocations: 0 / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3763, allocations: 0 / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3763, allocations: 0 / 435.6 MB, free: 3.777 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.0008564/0.3772, allocations: 0.5061 MB / 436.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.3772, allocations: 12.03 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.3775, allocations: 40.77 kB / 436.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.3779, allocations: 251.8 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3779, allocations: 16.38 kB / 436.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.3779, allocations: 16.38 kB / 436.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.3783, allocations: 164.5 kB / 436.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3783, allocations: 0 / 436.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3783, allocations: 8 kB / 436.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3783, allocations: 4 kB / 436.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.3785, allocations: 83.89 kB / 436.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3797, allocations: 0.6412 MB / 437.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3799, allocations: 135.7 kB / 437.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.38, allocations: 54.69 kB / 437.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3801, allocations: 0 / 437.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3801, allocations: 38.55 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.81e-07/0.3801, allocations: 0 / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005878/0.3807, allocations: 181.4 kB / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.3808, allocations: 106.8 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3811, allocations: 242.6 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3811, allocations: 25.7 kB / 438.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3812, allocations: 136 kB / 438.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.3813, allocations: 55.58 kB / 438.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.3813, allocations: 33.83 kB / 438.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3815, allocations: 330.8 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3816, allocations: 43.97 kB / 438.7 MB, free: 436 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3818, allocations: 93.34 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.3821, allocations: 150.7 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3821, allocations: 0 / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003937/0.3825, allocations: 193.2 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3825, allocations: 4 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3825, allocations: 4 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3826, allocations: 4 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3827, allocations: 32.11 kB / 439.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3827, allocations: 11.98 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3828, allocations: 15.83 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.3829, allocations: 12 kB / 439.2 MB, free: 15.86 MB / 350.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.0001379/0.383, allocations: 125.8 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3831, allocations: 27.84 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.3835, allocations: 186.7 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3835, allocations: 4 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3836, allocations: 0 / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3836, allocations: 0 / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.3841, allocations: 274 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3841, allocations: 0 / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.3843, allocations: 35.97 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3843, allocations: 0 / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3843, allocations: 12 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3843, allocations: 4.094 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3843, allocations: 0 / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.385, allocations: 477.7 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3851, allocations: 112.9 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3851, allocations: 0 / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3853, allocations: 8 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.3853, allocations: 15.98 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3853, allocations: 15.92 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3855, allocations: 170 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3855, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.3859, allocations: 36 kB / 440.7 MB, free: 14.29 MB / 350.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.0001359/0.386, allocations: 91.25 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.3864, allocations: 119.8 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3864, allocations: 0 / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3865, allocations: 60.09 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3869, allocations: 19.23 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3881, allocations: 0.6562 MB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3885, allocations: 0.7513 MB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.3886, allocations: 23.44 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3886, allocations: 0 / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004481/0.3931, allocations: 2.19 MB / 444.6 MB, free: 10.3 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.4753259578719735]