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.001318/0.001318, allocations: 82.36 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001736/0.001736, allocations: 151.4 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.503/1.503, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 2.285e-06/2.285e-06, allocations: 0.5625 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.415e-05/3.644e-05, allocations: 2.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003206/0.003243, allocations: 1.89 MB / 320.8 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.004148, allocations: 0.5411 MB / 321.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004252, allocations: 6.469 kB / 321.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.004415, allocations: 42.67 kB / 321.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.004513, allocations: 39.59 kB / 321.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.004754, allocations: 66.77 kB / 321.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.004977, allocations: 210.5 kB / 321.7 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.005145, allocations: 51.61 kB / 321.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.005328, allocations: 105.1 kB / 321.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.005443, allocations: 58.05 kB / 321.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.005493, allocations: 13.03 kB / 321.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.005527, allocations: 13.22 kB / 321.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.00557, allocations: 33.73 kB / 322 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.00564, allocations: 54.75 kB / 322 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.005909, allocations: 173.5 kB / 322.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.005915, allocations: 7.531 kB / 322.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.005917, allocations: 0 / 322.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.00593, allocations: 3.938 kB / 322.2 MB, free: 1.445 MB / 286.1 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.0006971/0.006627, allocations: 428.5 kB / 322.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.006676, allocations: 10.11 kB / 322.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.006736, allocations: 23.58 kB / 322.7 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.006998, allocations: 176.8 kB / 322.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.007012, allocations: 10.41 kB / 322.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.00706, allocations: 18 kB / 322.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.007417, allocations: 165.6 kB / 323 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.007429, allocations: 0 / 323 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.007451, allocations: 6.625 kB / 323 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.007462, allocations: 11.38 kB / 323 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.007708, allocations: 85.98 kB / 323.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.008555, allocations: 0.5291 MB / 323.6 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.008801, allocations: 126.5 kB / 323.8 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.008914, allocations: 53.39 kB / 323.8 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.00894, allocations: 6.719 kB / 323.8 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.008966, allocations: 36.66 kB / 323.9 MB, free: 132 kB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.008967, allocations: 5.281 kB / 323.9 MB, free: 128 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004941/0.009461, allocations: 169.8 kB / 324 MB, free: 52 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.009549, allocations: 105.1 kB / 324.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.009786, allocations: 197.3 kB / 324.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.00981, allocations: 27.2 kB / 324.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.009935, allocations: 136.2 kB / 324.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.009998, allocations: 53.75 kB / 324.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.01007, allocations: 35.53 kB / 324.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.0103, allocations: 330.7 kB / 324.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01042, allocations: 38.8 kB / 324.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.01061, allocations: 100.8 kB / 325 MB, free: 15.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.01088, allocations: 139.9 kB / 325.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01089, allocations: 0 / 325.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003766/0.01126, allocations: 182.8 kB / 325.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01128, allocations: 6.875 kB / 325.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01129, allocations: 1.938 kB / 325.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.01131, allocations: 11.67 kB / 325.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.01148, allocations: 36.62 kB / 325.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.01149, allocations: 2.75 kB / 325.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.0116, allocations: 15.42 kB / 325.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.01163, allocations: 10.86 kB / 325.4 MB, free: 14.94 MB / 302.1 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.0001446/0.01177, allocations: 130.5 kB / 325.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.01185, allocations: 22.03 kB / 325.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.01228, allocations: 177.8 kB / 325.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.01229, allocations: 6.75 kB / 325.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01229, allocations: 3.938 kB / 325.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.0123, allocations: 2.641 kB / 325.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.01274, allocations: 189 kB / 326 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.01275, allocations: 4.641 kB / 326 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.01293, allocations: 31.89 kB / 326 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.01294, allocations: 5.312 kB / 326 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.01296, allocations: 8.109 kB / 326 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.01296, allocations: 5.391 kB / 326 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.01297, allocations: 6.031 kB / 326 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.01363, allocations: 471.3 kB / 326.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.01368, allocations: 27.11 kB / 326.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.01372, allocations: 7.562 kB / 326.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.0139, allocations: 8.984 kB / 326.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.01396, allocations: 12.58 kB / 326.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.01398, allocations: 4.266 kB / 326.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.01413, allocations: 149.5 kB / 326.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01413, allocations: 0 / 326.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.01451, allocations: 36.28 kB / 326.7 MB, free: 14.05 MB / 302.1 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.0001872/0.01469, allocations: 95.81 kB / 326.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.01505, allocations: 117.1 kB / 326.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01505, allocations: 0 / 326.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.0152, allocations: 60.89 kB / 327 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.01563, allocations: 16.2 kB / 327 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.01683, allocations: 0.5207 MB / 327.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.01701, allocations: 131.2 kB / 327.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.01708, allocations: 15.16 kB / 327.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.01715, allocations: 27.5 kB / 327.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.01715, allocations: 0 / 327.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Templates: time 0.005332/0.02248, allocations: 1.13 MB / 328.8 MB, free: 13.23 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.474273208528757]