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.001428/0.001428, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.00147/0.00147, allocations: 152.9 kB / 24.26 MB, free: 148 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.518/1.518, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 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 5.671e-06/5.671e-06, allocations: 4 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/4.087e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003879/0.00392, allocations: 1.916 MB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.005304, allocations: 0.6114 MB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005411, allocations: 3.938 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.005594, allocations: 43.53 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.915e-05/0.005693, allocations: 35.59 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.006018, allocations: 91.75 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.006343, allocations: 211.1 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.006504, allocations: 52.48 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.00675, allocations: 107.8 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.006866, allocations: 59.73 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.006902, allocations: 16 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.006969, allocations: 12 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.007009, allocations: 35.84 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.007089, allocations: 55.83 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.007395, allocations: 179.3 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.007398, allocations: 4 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007399, allocations: 0 / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007404, allocations: 0 / 275.6 MB, free: 14.35 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.0008877/0.008292, allocations: 429.2 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.008344, allocations: 11.98 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.00863, allocations: 52.77 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.008983, allocations: 189.3 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.009005, allocations: 16.38 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.009048, allocations: 12.38 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.009432, allocations: 160.7 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.009443, allocations: 192 / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.009465, allocations: 8.375 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.009476, allocations: 7.938 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.009727, allocations: 95.75 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01076, allocations: 0.5278 MB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.01107, allocations: 131.8 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.01121, allocations: 54.67 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.01124, allocations: 4 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.01127, allocations: 38.5 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01127, allocations: 0 / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005707/0.01184, allocations: 181.5 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.01193, allocations: 106.8 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.0122, allocations: 203.2 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.01222, allocations: 25.7 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01235, allocations: 143.8 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.01242, allocations: 51.59 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.01248, allocations: 29.7 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.0127, allocations: 326.8 kB / 278.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.01283, allocations: 43.97 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.01302, allocations: 90.88 kB / 278.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.01333, allocations: 142.7 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.01334, allocations: 4 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004108/0.01375, allocations: 189.3 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.01377, allocations: 8 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.01378, allocations: 3.938 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.01382, allocations: 4 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.01399, allocations: 27.98 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.01401, allocations: 11.92 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.01412, allocations: 19.89 kB / 278.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01414, allocations: 8.75 kB / 278.9 MB, free: 10.78 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.000169/0.01431, allocations: 125.8 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.0144, allocations: 23.89 kB / 279.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.01488, allocations: 186.6 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01488, allocations: 0 / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.01489, allocations: 3.938 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.01491, allocations: 4 kB / 279.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.01537, allocations: 193.2 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.01538, allocations: 8 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.01557, allocations: 27.98 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01557, allocations: 0 / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.01559, allocations: 11.94 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.0156, allocations: 7.922 kB / 279.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.0156, allocations: 4 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.01625, allocations: 473 kB / 280 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.01629, allocations: 19.86 kB / 280 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.01632, allocations: 3.938 kB / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.0165, allocations: 12.06 kB / 280 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.01656, allocations: 15.97 kB / 280 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.01658, allocations: 8 kB / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.01672, allocations: 136.7 kB / 280.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01672, allocations: 4 kB / 280.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.01709, allocations: 35.89 kB / 280.2 MB, free: 9.438 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.0001472/0.01724, allocations: 103.2 kB / 280.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.01757, allocations: 111.9 kB / 280.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01758, allocations: 3.938 kB / 280.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01773, allocations: 60.22 kB / 280.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.01816, allocations: 19.95 kB / 280.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.01946, allocations: 0.5313 MB / 281 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.01964, allocations: 137.7 kB / 281.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.0197, allocations: 17.47 kB / 281.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.01978, allocations: 20.5 kB / 281.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01978, allocations: 0 / 281.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of Templates: time 0.006152/0.02594, allocations: 1.16 MB / 282.3 MB, free: 7.223 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=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.492601618054323]