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.001088/0.001088, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001075/0.001075, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.076/1.076, allocations: 177.1 MB / 205 MB, free: 5.582 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.813e-06/1.813e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.435e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003137/0.003172, allocations: 1.982 MB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.004474, allocations: 0.6231 MB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.004643, allocations: 11.94 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.004858, allocations: 43.53 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.004958, allocations: 39.59 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.005359, allocations: 79.77 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.005629, allocations: 215.1 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.005796, allocations: 52.55 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.006072, allocations: 111.7 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.006176, allocations: 55.8 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.006203, allocations: 16 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.006263, allocations: 16 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.006293, allocations: 39.83 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.006346, allocations: 51.78 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.006568, allocations: 127.4 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006573, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006574, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.006581, allocations: 0 / 276.4 MB, free: 14.05 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.000607/0.007188, allocations: 0.5345 MB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.007242, allocations: 8.031 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.007472, allocations: 48.78 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.007766, allocations: 184.1 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.007785, allocations: 12.38 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.007825, allocations: 12.38 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.008074, allocations: 157.9 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.008086, allocations: 4.125 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.008105, allocations: 8.375 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.008118, allocations: 11.92 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.008203, allocations: 47.72 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.009006, allocations: 0.6729 MB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.009173, allocations: 121.3 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.009226, allocations: 43.17 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.009246, allocations: 4 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.009275, allocations: 45.33 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.009277, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002835/0.00956, allocations: 125.4 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.009617, allocations: 106.8 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.009783, allocations: 245.8 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.009799, allocations: 29.7 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.009879, allocations: 190.6 kB / 279 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.00992, allocations: 43.59 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.009974, allocations: 39.36 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.01013, allocations: 0.5001 MB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.01018, allocations: 16.11 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.01027, allocations: 93.41 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01041, allocations: 121.4 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.01041, allocations: 0 / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001937/0.01061, allocations: 133.5 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01062, allocations: 8 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.01063, allocations: 3.938 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.01066, allocations: 4 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.01075, allocations: 39.91 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.01076, allocations: 8.5 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.01081, allocations: 11.89 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01083, allocations: 11.98 kB / 280 MB, free: 10.1 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.000112/0.01094, allocations: 168.5 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.01099, allocations: 20.03 kB / 280.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.01125, allocations: 154.6 kB / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01125, allocations: 4 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01126, allocations: 4 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01126, allocations: 0 / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.01154, allocations: 192.5 kB / 280.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01154, allocations: 0 / 280.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.01163, allocations: 39.91 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01163, allocations: 4 kB / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.01165, allocations: 0 / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01165, allocations: 11.94 kB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01165, allocations: 0 / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.01199, allocations: 0.5308 MB / 281.1 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.01201, allocations: 23.86 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01203, allocations: 3.938 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.01211, allocations: 11.98 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.01216, allocations: 7.984 kB / 281.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.01217, allocations: 4 kB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004308/0.0126, allocations: 183.1 kB / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0126, allocations: 0 / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.01284, allocations: 43.89 kB / 281.4 MB, free: 8.637 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.0001301/0.01297, allocations: 99.19 kB / 281.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.01317, allocations: 79.56 kB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01317, allocations: 0 / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.01324, allocations: 57.88 kB / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01354, allocations: 15.23 kB / 281.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.0146, allocations: 0.5187 MB / 282.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.01467, allocations: 87.81 kB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.144e-05/0.01471, allocations: 13.48 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.01477, allocations: 24.44 kB / 282.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01477, allocations: 0 / 282.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of Templates: time 0.003629/0.0184, allocations: 1.172 MB / 283.5 MB, free: 6.512 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.24033146398142]