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.001591/0.001591, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001214/0.001214, allocations: 163.2 kB / 24.99 MB, free: 9.32 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.853e-06/1.853e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.815e-05, allocations: 2.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002825/0.002853, allocations: 1.982 MB / 275 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003888, allocations: 0.627 MB / 275.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004014, allocations: 7.938 kB / 275.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.004171, allocations: 47.47 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.004249, allocations: 27.67 kB / 275.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.00455, allocations: 95.62 kB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.004789, allocations: 207.2 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.004961, allocations: 56.55 kB / 276.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.00519, allocations: 107.7 kB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.005279, allocations: 55.8 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.005307, allocations: 16 kB / 276.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.044e-05/0.005358, allocations: 12 kB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.005389, allocations: 39.78 kB / 276.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.005447, allocations: 55.83 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005659, allocations: 131.4 kB / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.005665, allocations: 0 / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.005667, allocations: 0 / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.005673, allocations: 4 kB / 276.5 MB, free: 14.39 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.0006021/0.006275, allocations: 0.519 MB / 277 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.006321, allocations: 12.03 kB / 277 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.006528, allocations: 48.78 kB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.00678, allocations: 188.1 kB / 277.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.006801, allocations: 12.38 kB / 277.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.006836, allocations: 12.38 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.007099, allocations: 161.9 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.007108, allocations: 192 / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.007126, allocations: 4.375 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.007138, allocations: 7.938 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.921e-05/0.007237, allocations: 55.88 kB / 277.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.008023, allocations: 0.6652 MB / 278.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.008208, allocations: 129.3 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.00827, allocations: 43.17 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.008289, allocations: 7.938 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.008317, allocations: 37.39 kB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/0.008319, allocations: 0 / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003222/0.008642, allocations: 125.4 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.008695, allocations: 106.8 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.008881, allocations: 253.7 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.008895, allocations: 25.7 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.008985, allocations: 186.6 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.009034, allocations: 55.53 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.009091, allocations: 35.48 kB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.00924, allocations: 0.5001 MB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.009291, allocations: 15.98 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.009378, allocations: 95.81 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.009531, allocations: 117.4 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.009534, allocations: 0 / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002371/0.009771, allocations: 141.4 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.009789, allocations: 8 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.009795, allocations: 3.938 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.009813, allocations: 4 kB / 280 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.009935, allocations: 31.97 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.009945, allocations: 7.938 kB / 280.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.01001, allocations: 11.89 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.01003, allocations: 15.98 kB / 280.1 MB, free: 10.45 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.316e-05/0.01012, allocations: 164.8 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.01019, allocations: 20.47 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.01045, allocations: 146.6 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.01046, allocations: 11.92 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01046, allocations: 0 / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01046, allocations: 0 / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.01083, allocations: 196.5 kB / 280.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01084, allocations: 0 / 280.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.01096, allocations: 31.97 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01096, allocations: 4 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.01099, allocations: 8 kB / 280.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01099, allocations: 7.938 kB / 280.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01099, allocations: 0 / 280.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.01139, allocations: 0.5293 MB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.01142, allocations: 15.86 kB / 281.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.01145, allocations: 12.03 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.01159, allocations: 4 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.01165, allocations: 19.95 kB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01166, allocations: 4 kB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.01176, allocations: 183.1 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01176, allocations: 4 kB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.01211, allocations: 43.83 kB / 281.5 MB, free: 8.98 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.0001117/0.01222, allocations: 95.19 kB / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.01242, allocations: 83.5 kB / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01242, allocations: 0 / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.0125, allocations: 54.09 kB / 281.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.0129, allocations: 16.38 kB / 281.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.01399, allocations: 0.5222 MB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.01407, allocations: 83.81 kB / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.594e-05/0.01412, allocations: 17.47 kB / 282.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.01417, allocations: 16.5 kB / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01417, allocations: 0 / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of Templates: time 0.00382/0.01799, allocations: 1.183 MB / 283.6 MB, free: 6.852 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: 3.0080234438646585]