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.001048/0.001048, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001091/0.001091, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.027/1.027, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.673e-06/1.673e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.519e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003204/0.003229, allocations: 1.993 MB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.004351, allocations: 0.6153 MB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.004478, allocations: 11.94 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.004657, allocations: 39.53 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004761, allocations: 51.52 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.005066, allocations: 75.78 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.005323, allocations: 215.1 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.005485, allocations: 52.55 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.005734, allocations: 119.7 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.005836, allocations: 55.75 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.005867, allocations: 12 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.005927, allocations: 20 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.00596, allocations: 35.83 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.006022, allocations: 51.84 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.006235, allocations: 127.4 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006238, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006239, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.006245, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.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.0006292/0.006874, allocations: 0.5229 MB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.006921, allocations: 11.98 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.007125, allocations: 48.78 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.007371, allocations: 184.2 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.007387, allocations: 8.375 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.007424, allocations: 16.38 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.007698, allocations: 161.8 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.00771, allocations: 4.188 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.007728, allocations: 8.375 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.007741, allocations: 7.938 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.007852, allocations: 47.91 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.008593, allocations: 0.669 MB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.008784, allocations: 117.3 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.008849, allocations: 43.17 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.008868, allocations: 8 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.008894, allocations: 41.39 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.008896, allocations: 0 / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003447/0.009241, allocations: 133.3 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.009289, allocations: 102.8 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.009475, allocations: 241.8 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.009495, allocations: 33.7 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.009588, allocations: 186.6 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.009636, allocations: 47.58 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.009694, allocations: 39.36 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.009844, allocations: 0.5001 MB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.009899, allocations: 24.11 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.276e-05/0.009992, allocations: 92.55 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.01015, allocations: 121.9 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01015, allocations: 0 / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002359/0.01039, allocations: 141.4 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01041, allocations: 4 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01041, allocations: 7.938 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.01043, allocations: 4 kB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.01056, allocations: 31.92 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.01057, allocations: 4 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.01065, allocations: 19.88 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01066, allocations: 4 kB / 279.9 MB, free: 10.04 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 9.465e-05/0.01076, allocations: 164.5 kB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.01083, allocations: 28.03 kB / 280.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.01111, allocations: 142.6 kB / 280.3 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01111, allocations: 4 kB / 280.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01111, allocations: 3.938 kB / 280.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01112, allocations: 4 kB / 280.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.01151, allocations: 200.5 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01151, allocations: 0 / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.01165, allocations: 35.92 kB / 280.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01165, allocations: 0 / 280.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.01168, allocations: 4 kB / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.01168, allocations: 7.938 kB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.01169, allocations: 7.984 kB / 280.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.0121, allocations: 0.5176 MB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.01212, allocations: 27.84 kB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.01215, allocations: 7.938 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.0123, allocations: 7.938 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.01236, allocations: 15.97 kB / 281.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01237, allocations: 4 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01249, allocations: 176.5 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01249, allocations: 0 / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.01287, allocations: 43.89 kB / 281.3 MB, free: 8.582 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.0001028/0.01297, allocations: 95.25 kB / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.01316, allocations: 79.64 kB / 281.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01317, allocations: 0 / 281.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.01324, allocations: 55.89 kB / 281.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.01368, allocations: 15.12 kB / 281.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01479, allocations: 0.5342 MB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.01486, allocations: 83.83 kB / 282.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.257e-05/0.01493, allocations: 13.48 kB / 282.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.01499, allocations: 28.48 kB / 282.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01499, allocations: 0 / 282.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of Templates: time 0.00686/0.02185, allocations: 1.192 MB / 283.4 MB, free: 6.43 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",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.7409881432540715]