Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001294/0.001294, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001606/0.001606, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.3 MB / 258 MB, free: 8.207 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.88 kB / 378.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3621, allocations: 53.37 MB / 432.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003713/0.3659, allocations: 2.012 MB / 434.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3672, allocations: 0.6621 MB / 434.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3674, allocations: 7.938 kB / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3676, allocations: 39.53 kB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.3677, allocations: 35.66 kB / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.368, allocations: 95.7 kB / 435 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.3682, allocations: 203.2 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3684, allocations: 52.55 kB / 435.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3686, allocations: 71.72 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3687, allocations: 91.44 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3688, allocations: 12 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.3688, allocations: 19.98 kB / 435.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.3689, allocations: 35.86 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.3689, allocations: 83.47 kB / 435.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3692, allocations: 184.7 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3692, allocations: 0 / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3692, allocations: 0 / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3692, allocations: 0 / 435.7 MB, free: 3.449 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.0007374/0.37, allocations: 433.2 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.37, allocations: 8.031 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.3703, allocations: 52.7 kB / 436.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.3706, allocations: 194 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3706, allocations: 8.375 kB / 436.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.3707, allocations: 12.38 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.371, allocations: 160.5 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.371, allocations: 15.92 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3711, allocations: 4 kB / 436.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3711, allocations: 4 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.3713, allocations: 91.52 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.3723, allocations: 0.6091 MB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.3726, allocations: 123.8 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3727, allocations: 50.69 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3728, allocations: 8 kB / 437.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3728, allocations: 34.56 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3728, allocations: 0 / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00055/0.3733, allocations: 177.3 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.3734, allocations: 114.9 kB / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.3737, allocations: 229.9 kB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3737, allocations: 29.7 kB / 438 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3738, allocations: 140 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.3739, allocations: 47.59 kB / 438.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.374, allocations: 37.7 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3741, allocations: 334.8 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3742, allocations: 35.97 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3744, allocations: 97.34 kB / 438.7 MB, free: 208 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3747, allocations: 151.2 kB / 438.8 MB, free: 32 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3747, allocations: 0 / 438.8 MB, free: 32 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003972/0.3751, allocations: 189.4 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3751, allocations: 4 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3751, allocations: 7.984 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3751, allocations: 0 / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3753, allocations: 35.92 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3753, allocations: 0 / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3754, allocations: 23.88 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3754, allocations: 4 kB / 439.1 MB, free: 15.77 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.0001398/0.3756, allocations: 141.8 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.3756, allocations: 27.73 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.3761, allocations: 182.9 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3761, allocations: 4 kB / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3761, allocations: 0 / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3761, allocations: 0 / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.3766, allocations: 248.4 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3766, allocations: 0 / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3768, allocations: 43.91 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3768, allocations: 0 / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3768, allocations: 8 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3768, allocations: 160 / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3768, allocations: 4.031 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.3774, allocations: 481.7 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.3775, allocations: 23.81 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.3775, allocations: 8.047 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3777, allocations: 4 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.3777, allocations: 19.91 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3777, allocations: 8.188 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.3779, allocations: 173.2 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 0 / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.3783, allocations: 32 kB / 440.5 MB, free: 14.31 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.0001309/0.3784, allocations: 99.72 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.3787, allocations: 119.7 kB / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3787, allocations: 0 / 440.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3789, allocations: 68.27 kB / 440.8 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.0004195/0.3793, allocations: 23.16 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3804, allocations: 0.6159 MB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3808, allocations: 0.7475 MB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.727e-05/0.3809, allocations: 21.47 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.3809, allocations: 15.44 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3809, allocations: 4 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.004925/0.3859, allocations: 1.47 MB / 443.7 MB, free: 11.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.986148810014129]