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.00137/0.00137, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001605/0.001605, allocations: 161 kB / 24.55 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.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.266 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 2.404e-06/2.404e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.608e-05, allocations: 2.312 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004584/0.00462, allocations: 1.985 MB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.006079, allocations: 0.627 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.006262, allocations: 7.938 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.00648, allocations: 47.53 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.006607, allocations: 35.59 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.007029, allocations: 79.78 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.007435, allocations: 223 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.007657, allocations: 52.55 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.007954, allocations: 103.8 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.008056, allocations: 63.73 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.008092, allocations: 16 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.00815, allocations: 12 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.008179, allocations: 39.84 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.008233, allocations: 47.84 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.008456, allocations: 131.4 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008459, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008461, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.008466, allocations: 0 / 276.4 MB, free: 13.94 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.0006424/0.009109, allocations: 0.5229 MB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.009173, allocations: 12.03 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.009412, allocations: 48.78 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.009715, allocations: 184.1 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.009736, allocations: 16.36 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.009783, allocations: 16.36 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.01005, allocations: 157.9 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.01006, allocations: 192 / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.01008, allocations: 4.375 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.0101, allocations: 11.94 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.01018, allocations: 47.97 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.01091, allocations: 0.669 MB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.01108, allocations: 133.2 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.01113, allocations: 39.17 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.01114, allocations: 4 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.01117, allocations: 45.33 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.01117, allocations: 4 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002589/0.01143, allocations: 125.4 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.01148, allocations: 110.8 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01163, allocations: 241.8 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01164, allocations: 33.64 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.01172, allocations: 182.6 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.01176, allocations: 51.59 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.01181, allocations: 35.36 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01196, allocations: 0.5001 MB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.012, allocations: 19.98 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.01207, allocations: 89.61 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.0122, allocations: 125.3 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01221, allocations: 0 / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001737/0.01238, allocations: 133.6 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01239, allocations: 12 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.0124, allocations: 3.938 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01242, allocations: 4 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.01251, allocations: 27.98 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.01252, allocations: 11.92 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.01257, allocations: 16.45 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01259, allocations: 8 kB / 280 MB, free: 9.992 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.985e-05/0.01268, allocations: 156.6 kB / 280.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.01272, allocations: 23.91 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.01296, allocations: 150.6 kB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01297, allocations: 0 / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01297, allocations: 4 kB / 280.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.01298, allocations: 12.02 kB / 280.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.01329, allocations: 196.5 kB / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.0133, allocations: 0 / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.01339, allocations: 31.98 kB / 280.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.0134, allocations: 4 kB / 280.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.01342, allocations: 3.984 kB / 280.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.01343, allocations: 11.88 kB / 280.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01343, allocations: 4 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.01383, allocations: 0.5308 MB / 281.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.01385, allocations: 15.86 kB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01388, allocations: 11.94 kB / 281.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.01396, allocations: 4 kB / 281.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.01401, allocations: 15.97 kB / 281.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01402, allocations: 4 kB / 281.2 MB, free: 8.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.01412, allocations: 179.1 kB / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01412, allocations: 0 / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.01437, allocations: 39.89 kB / 281.4 MB, free: 8.535 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.0001091/0.01448, allocations: 103.2 kB / 281.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.01465, allocations: 75.58 kB / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01465, allocations: 0 / 281.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/0.01471, allocations: 51.53 kB / 281.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.015, allocations: 19.98 kB / 281.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.01591, allocations: 0.5293 MB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.01597, allocations: 75.83 kB / 282.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.898e-05/0.01601, allocations: 25.47 kB / 282.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.01607, allocations: 16.5 kB / 282.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of SimCode: time 1.392e-06/0.01607, allocations: 0 / 282.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of Templates: time 0.003439/0.01951, allocations: 1.196 MB / 283.5 MB, free: 6.379 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.8997108270414174]