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.0007628/0.0007628, allocations: 84 kB / 21.43 MB, free: 3.129 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.002947/0.002947, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 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 0.8125/0.8125, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.167e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.001911/0.001933, allocations: 1.892 MB / 321.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006236/0.002557, allocations: 0.5376 MB / 322.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.002629, allocations: 3.938 kB / 322.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.002756, allocations: 47.53 kB / 322.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.002812, allocations: 43.52 kB / 322.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.002993, allocations: 71.73 kB / 322.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.003152, allocations: 211.1 kB / 322.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.003284, allocations: 52.53 kB / 322.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003402, allocations: 95.78 kB / 322.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.003478, allocations: 67.73 kB / 322.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.003505, allocations: 12 kB / 322.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.003519, allocations: 12 kB / 322.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.003545, allocations: 31.84 kB / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.003584, allocations: 55.84 kB / 322.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.003739, allocations: 175.2 kB / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003741, allocations: 0 / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.003742, allocations: 0 / 323 MB, free: 2.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003746, allocations: 0 / 323 MB, free: 2.539 MB / 282.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.0004378/0.004184, allocations: 425.2 kB / 323.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.004219, allocations: 12.92 kB / 323.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.004255, allocations: 20.8 kB / 323.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.004423, allocations: 181.3 kB / 323.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.004435, allocations: 8.375 kB / 323.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.004461, allocations: 16.38 kB / 323.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.004657, allocations: 160.3 kB / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.004665, allocations: 0 / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.004678, allocations: 4 kB / 323.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.004685, allocations: 7.984 kB / 323.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.004807, allocations: 87.89 kB / 323.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.005339, allocations: 0.5317 MB / 324.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.005501, allocations: 123.8 kB / 324.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.005569, allocations: 58.62 kB / 324.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.005584, allocations: 0 / 324.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.005601, allocations: 42.55 kB / 324.6 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 8.71e-07/0.005601, allocations: 0 / 324.6 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002874/0.005889, allocations: 169.4 kB / 324.8 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.005932, allocations: 110.8 kB / 324.9 MB, free: 436 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.006049, allocations: 194.9 kB / 325.1 MB, free: 232 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.006061, allocations: 29.64 kB / 325.1 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.006119, allocations: 143.9 kB / 325.3 MB, free: 48 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.006167, allocations: 55.67 kB / 325.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.006204, allocations: 37.83 kB / 325.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.006284, allocations: 326.8 kB / 325.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.175e-05/0.006346, allocations: 43.73 kB / 325.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.006423, allocations: 90.84 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.006702, allocations: 151.2 kB / 325.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.006706, allocations: 4 kB / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001885/0.006894, allocations: 181.2 kB / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006905, allocations: 8 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.00691, allocations: 0 / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.006921, allocations: 4 kB / 326.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.007002, allocations: 44.09 kB / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007006, allocations: 0 / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.007054, allocations: 15.95 kB / 326.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.007063, allocations: 4 kB / 326.2 MB, free: 15.03 MB / 298.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 6.841e-05/0.007132, allocations: 129.8 kB / 326.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.007169, allocations: 23.84 kB / 326.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.007394, allocations: 186.7 kB / 326.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007397, allocations: 4 kB / 326.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.0074, allocations: 4 kB / 326.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.007403, allocations: 0 / 326.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.007631, allocations: 193.2 kB / 326.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.007633, allocations: 0 / 326.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.274e-05/0.007715, allocations: 27.98 kB / 326.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.007719, allocations: 7.938 kB / 326.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.007731, allocations: 7.984 kB / 326.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.007733, allocations: 4 kB / 326.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007734, allocations: 0 / 326.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.008048, allocations: 476.5 kB / 327.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.008067, allocations: 27.8 kB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.008083, allocations: 4 kB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.008174, allocations: 11.98 kB / 327.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.008215, allocations: 7.984 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.008221, allocations: 4 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.008288, allocations: 148.3 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008288, allocations: 0 / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.008502, allocations: 35.94 kB / 327.5 MB, free: 13.7 MB / 298.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 7.28e-05/0.008575, allocations: 107.2 kB / 327.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.008749, allocations: 107.8 kB / 327.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.008751, allocations: 4 kB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.008821, allocations: 59.91 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.009073, allocations: 15.94 kB / 327.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.009663, allocations: 0.5502 MB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.009742, allocations: 129.7 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.009787, allocations: 24.48 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009787, allocations: 0 / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Templates: time 0.002311/0.0121, allocations: 2.11 MB / 330.6 MB, free: 10.53 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] 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: 3.9784146677702665]