Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 165.7 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.256e-05, allocations: 6.25 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002239/0.002262, allocations: 1.965 MB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.00307, allocations: 0.6232 MB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.003178, allocations: 7.938 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.003311, allocations: 43.53 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.003379, allocations: 43.52 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.003604, allocations: 79.78 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.003779, allocations: 219.1 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003904, allocations: 52.56 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.004079, allocations: 107.7 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.004156, allocations: 55.8 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.004178, allocations: 12 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.004225, allocations: 16 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.004252, allocations: 47.77 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.00429, allocations: 47.84 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.004434, allocations: 127.4 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004436, allocations: 0 / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004437, allocations: 4 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.00444, allocations: 0 / 276.8 MB, free: 13.85 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.0004288/0.004869, allocations: 0.5228 MB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.004906, allocations: 15.97 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.005035, allocations: 48.78 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.005187, allocations: 184.1 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.005198, allocations: 8.375 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.005221, allocations: 16.38 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.005369, allocations: 157.9 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.005375, allocations: 192 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005385, allocations: 8.359 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005392, allocations: 7.938 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.005442, allocations: 39.91 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.006211, allocations: 0.6305 MB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.006352, allocations: 121.1 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.006399, allocations: 47.3 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.006416, allocations: 0 / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.006438, allocations: 41.39 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.006439, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002431/0.006682, allocations: 125.3 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.006728, allocations: 106.8 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.00688, allocations: 237.7 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.006896, allocations: 33.7 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.006989, allocations: 186.6 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.007033, allocations: 47.58 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.007086, allocations: 47.47 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.007247, allocations: 0.5001 MB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.182e-05/0.007278, allocations: 11.98 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.007357, allocations: 87.5 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.007487, allocations: 117.8 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.00749, allocations: 4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001842/0.007674, allocations: 137.4 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.007684, allocations: 4 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.00769, allocations: 4 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.007699, allocations: 3.938 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.007799, allocations: 31.92 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.007803, allocations: 4 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.007869, allocations: 19.88 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.007881, allocations: 16.11 kB / 280.4 MB, free: 9.984 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 8.631e-05/0.007968, allocations: 164.5 kB / 280.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.008027, allocations: 19.91 kB / 280.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.008217, allocations: 138.6 kB / 280.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.008222, allocations: 7.938 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.008224, allocations: 0 / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.008228, allocations: 0 / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.008528, allocations: 165.1 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008529, allocations: 0 / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.008637, allocations: 27.98 kB / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.00864, allocations: 11.94 kB / 280.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.008656, allocations: 7.984 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.008658, allocations: 4 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.00866, allocations: 0 / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.008972, allocations: 0.5175 MB / 281.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.008995, allocations: 19.86 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.009015, allocations: 8 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.009147, allocations: 0 / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.009189, allocations: 27.84 kB / 281.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.009195, allocations: 0 / 281.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.009275, allocations: 179.1 kB / 281.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009275, allocations: 0 / 281.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.009595, allocations: 39.89 kB / 281.7 MB, free: 8.594 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 7.954e-05/0.009675, allocations: 95.23 kB / 281.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.009806, allocations: 75.59 kB / 281.8 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.009812, allocations: 4 kB / 281.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.009873, allocations: 50.41 kB / 281.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01023, allocations: 16.36 kB / 281.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.01104, allocations: 0.5261 MB / 282.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.01111, allocations: 79.83 kB / 282.5 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.01116, allocations: 21.45 kB / 282.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.01123, allocations: 82.2 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01123, allocations: 0 / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of Templates: time 0.003395/0.01463, allocations: 1.253 MB / 283.9 MB, free: 6.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.781371256802231]