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.001511/0.001511, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001779/0.001779, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002258/0.002258, allocations: 48.06 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3297, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003216/0.3329, allocations: 1.92 MB / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3341, allocations: 0.6077 MB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3342, allocations: 15.81 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.3344, allocations: 43.58 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/0.3345, allocations: 35.61 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.3348, allocations: 91.77 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.335, allocations: 207.2 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3352, allocations: 56.36 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3354, allocations: 75.7 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3355, allocations: 79.5 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.3355, allocations: 15.94 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.3356, allocations: 20 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.3356, allocations: 31.84 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.3357, allocations: 71.59 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.336, allocations: 177.9 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.336, allocations: 8 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.336, allocations: 0 / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.336, allocations: 0 / 435.7 MB, free: 3.273 MB / 334.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.0007472/0.3367, allocations: 429.2 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3368, allocations: 8.031 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.337, allocations: 44.77 kB / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3374, allocations: 194 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3374, allocations: 12.38 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.3374, allocations: 12.38 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.3377, allocations: 164.5 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3377, allocations: 0 / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3378, allocations: 4 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3378, allocations: 4 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.338, allocations: 87.89 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.3389, allocations: 0.5394 MB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.3392, allocations: 123.8 kB / 437.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3393, allocations: 62.61 kB / 437.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3393, allocations: 3.938 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3393, allocations: 34.56 kB / 437.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.3393, allocations: 0 / 437.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005245/0.3399, allocations: 181.9 kB / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3399, allocations: 106.8 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3402, allocations: 199.2 kB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3402, allocations: 29.7 kB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.3403, allocations: 135.9 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.3403, allocations: 55.53 kB / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.3404, allocations: 29.7 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3405, allocations: 326.8 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3407, allocations: 43.97 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3408, allocations: 94.81 kB / 438.6 MB, free: 160 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.3411, allocations: 146.7 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.3411, allocations: 4 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003638/0.3415, allocations: 181.3 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3415, allocations: 11.98 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3415, allocations: 0 / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3415, allocations: 4 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.3417, allocations: 31.92 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3417, allocations: 4 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3418, allocations: 15.94 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3418, allocations: 12.19 kB / 439 MB, free: 15.72 MB / 350.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.0001157/0.3419, allocations: 125.8 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.342, allocations: 19.84 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.3424, allocations: 190.5 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3424, allocations: 4 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3424, allocations: 0 / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3424, allocations: 0 / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.3429, allocations: 193.2 kB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3429, allocations: 4 kB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.3431, allocations: 27.98 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3431, allocations: 7.938 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3431, allocations: 4 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.3431, allocations: 7.938 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3431, allocations: 8.047 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.3437, allocations: 472.3 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.3437, allocations: 19.8 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.3437, allocations: 8.062 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3439, allocations: 8 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.344, allocations: 15.97 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.344, allocations: 7.938 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3441, allocations: 139.2 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3441, allocations: 0 / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.3445, allocations: 39.89 kB / 440.3 MB, free: 14.38 MB / 350.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.0001091/0.3446, allocations: 103.2 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.3449, allocations: 119.8 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3449, allocations: 0 / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3451, allocations: 60.22 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3455, allocations: 15.94 kB / 440.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3466, allocations: 0.6205 MB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.3468, allocations: 125.6 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.3468, allocations: 29.33 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.3469, allocations: 23.44 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3469, allocations: 0 / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004613/0.3515, allocations: 1.373 MB / 442.8 MB, free: 11.87 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.397301493008854]