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.000916/0.000916, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001195/0.001195, allocations: 145.4 kB / 24.89 MB, free: 8.797 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.9262/0.9262, allocations: 173.4 MB / 201.5 MB, free: 9.18 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 3.186e-06/3.186e-06, allocations: 4 kB / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.717e-05, allocations: 2.312 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002326/0.002353, allocations: 1.935 MB / 270.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.003125, allocations: 0.5879 MB / 271 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.003209, allocations: 7.938 kB / 271 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.003348, allocations: 39.59 kB / 271 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.003415, allocations: 47.52 kB / 271.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.003602, allocations: 63.8 kB / 271.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.003773, allocations: 207.1 kB / 271.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.0039, allocations: 54.52 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.004037, allocations: 99.78 kB / 271.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.004115, allocations: 59.73 kB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.004142, allocations: 16 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.004159, allocations: 12 kB / 271.6 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.004189, allocations: 35.84 kB / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.004231, allocations: 51.83 kB / 271.7 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004368, allocations: 127.4 kB / 271.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.004371, allocations: 0 / 271.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004372, allocations: 0 / 271.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004376, allocations: 0 / 271.8 MB, free: 2.84 MB / 250.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.0003983/0.004774, allocations: 399.8 kB / 272.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.004809, allocations: 8.922 kB / 272.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.004849, allocations: 24.92 kB / 272.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004994, allocations: 173.1 kB / 272.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.005007, allocations: 16.36 kB / 272.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.005031, allocations: 12.38 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005186, allocations: 148.9 kB / 272.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.005192, allocations: 3.984 kB / 272.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.005202, allocations: 8 kB / 272.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005208, allocations: 4 kB / 272.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.005254, allocations: 35.67 kB / 272.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.005712, allocations: 444.1 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.005825, allocations: 91.75 kB / 273.1 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.005858, allocations: 34.81 kB / 273.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005872, allocations: 4 kB / 273.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.005895, allocations: 46.38 kB / 273.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.005896, allocations: 8 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001774/0.006074, allocations: 93.95 kB / 273.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.006119, allocations: 106.8 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.006212, allocations: 182.4 kB / 273.6 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.006225, allocations: 29.64 kB / 273.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.006272, allocations: 127.9 kB / 273.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.006318, allocations: 47.56 kB / 273.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.006355, allocations: 33.7 kB / 273.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.006443, allocations: 334.8 kB / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.006465, allocations: 8 kB / 274.2 MB, free: 272 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.605e-05/0.006511, allocations: 69.94 kB / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.006597, allocations: 94.7 kB / 274.3 MB, free: 60 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006599, allocations: 0 / 274.3 MB, free: 60 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001259/0.006725, allocations: 109.6 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.006739, allocations: 7.938 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.006745, allocations: 4 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006756, allocations: 0 / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.006846, allocations: 31.97 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.006851, allocations: 7.938 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.006897, allocations: 15.89 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.006907, allocations: 11.98 kB / 274.5 MB, free: 15.87 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 6.627e-05/0.006974, allocations: 113.8 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.007011, allocations: 19.98 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.007154, allocations: 110.7 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.007157, allocations: 4 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.007159, allocations: 0 / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.007164, allocations: 11.92 kB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.007402, allocations: 133.7 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007405, allocations: 4 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.007487, allocations: 27.98 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.007489, allocations: 0 / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.007502, allocations: 4.094 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.007507, allocations: 8.125 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.007509, allocations: 8 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.007726, allocations: 372.8 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.007744, allocations: 23.8 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.007762, allocations: 7.938 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.007847, allocations: 8 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.007881, allocations: 11.97 kB / 275.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.007887, allocations: 4 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.088e-05/0.007928, allocations: 61.94 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007928, allocations: 0 / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.008122, allocations: 39.89 kB / 275.5 MB, free: 14.86 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.0001083/0.00823, allocations: 84.36 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.008345, allocations: 60.77 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.008349, allocations: 4 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.008391, allocations: 48.69 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.00861, allocations: 14.66 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.009283, allocations: 443.5 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.009334, allocations: 83.69 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.009374, allocations: 17.66 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.009433, allocations: 67.36 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009434, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Templates: time 0.00271/0.01214, allocations: 1.195 MB / 277.5 MB, free: 12.8 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",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.7412415142171085]