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.002605/0.002605, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.00308/0.00308, allocations: 160.8 kB / 24.27 MB, free: 160 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.641/1.641, allocations: 177 MB / 204.4 MB, free: 5.609 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 1.983e-06/1.983e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.407e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003769/0.003803, allocations: 1.954 MB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.005179, allocations: 0.6192 MB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.005324, allocations: 11.94 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.005532, allocations: 39.53 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.005648, allocations: 47.58 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.006144, allocations: 71.84 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.006471, allocations: 219 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.006643, allocations: 56.48 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.006902, allocations: 111.8 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.007026, allocations: 63.73 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.007061, allocations: 12 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.007125, allocations: 20 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.007177, allocations: 31.84 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/0.007253, allocations: 55.83 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.00754, allocations: 175.3 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.007543, allocations: 0 / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.007544, allocations: 0 / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.007551, allocations: 0 / 275.7 MB, free: 14.32 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.0008829/0.008434, allocations: 0.5265 MB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.008484, allocations: 15.98 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.008757, allocations: 48.78 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.009098, allocations: 188.1 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.009123, allocations: 16.38 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.009167, allocations: 12.38 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.009543, allocations: 177.1 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.009555, allocations: 192 / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.009575, allocations: 8.375 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.009586, allocations: 7.938 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.009815, allocations: 83.95 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01101, allocations: 0.708 MB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.01132, allocations: 141.3 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.01145, allocations: 59.17 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01147, allocations: 4 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.01152, allocations: 49.33 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.01152, allocations: 0 / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005341/0.01205, allocations: 169.4 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.01214, allocations: 106.8 kB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.01242, allocations: 273.8 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.01245, allocations: 33.69 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.01261, allocations: 198.5 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.01268, allocations: 55.58 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.01276, allocations: 43.36 kB / 278.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003206/0.01308, allocations: 0.508 MB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01319, allocations: 31.98 kB / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01337, allocations: 113.5 kB / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.01367, allocations: 161.3 kB / 279.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01367, allocations: 8 kB / 279.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003654/0.01404, allocations: 173.9 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.01406, allocations: 4 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.01407, allocations: 7.938 kB / 279.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.01409, allocations: 0 / 279.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.01425, allocations: 39.97 kB / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.01426, allocations: 0 / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01437, allocations: 28.02 kB / 279.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.01439, allocations: 11.98 kB / 279.6 MB, free: 10.02 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.0001589/0.01455, allocations: 168.6 kB / 279.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.01463, allocations: 23.91 kB / 279.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.01506, allocations: 170.6 kB / 280 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01507, allocations: 0 / 280 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.01507, allocations: 4 kB / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.01508, allocations: 3.984 kB / 280 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.01554, allocations: 224.4 kB / 280.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01554, allocations: 4 kB / 280.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.01572, allocations: 31.98 kB / 280.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.01573, allocations: 11.92 kB / 280.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01575, allocations: 0 / 280.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.01575, allocations: 7.938 kB / 280.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01575, allocations: 0 / 280.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.01645, allocations: 0.5907 MB / 280.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.01648, allocations: 15.86 kB / 280.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.01652, allocations: 11.94 kB / 280.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.01668, allocations: 8 kB / 280.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.01674, allocations: 15.97 kB / 280.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.01676, allocations: 4 kB / 280.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.01695, allocations: 196.6 kB / 281.1 MB, free: 8.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01695, allocations: 4 kB / 281.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.01729, allocations: 35.89 kB / 281.1 MB, free: 8.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.0001417/0.01743, allocations: 95.19 kB / 281.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.01779, allocations: 119.8 kB / 281.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01779, allocations: 0 / 281.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.01795, allocations: 75.84 kB / 281.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.01834, allocations: 15.95 kB / 281.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.01958, allocations: 0.5499 MB / 282 MB, free: 7.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.01975, allocations: 133.7 kB / 282.1 MB, free: 7.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.01981, allocations: 17.47 kB / 282.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.01988, allocations: 20.5 kB / 282.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01988, allocations: 0 / 282.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of Templates: time 0.004896/0.02478, allocations: 1.157 MB / 283.3 MB, free: 6.188 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","/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.6306824770290405]