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.001843/0.001843, 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.002455/0.002455, allocations: 215.4 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 2.161/2.161, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001803/0.001803, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3408, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003734/0.3445, allocations: 1.912 MB / 434.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3459, allocations: 0.5999 MB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.346, allocations: 11.94 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.3462, allocations: 39.53 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3463, allocations: 35.59 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.3467, allocations: 87.83 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.347, allocations: 207.2 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3472, allocations: 52.31 kB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3474, allocations: 87.62 kB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3476, allocations: 79.58 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.3476, allocations: 12 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.3477, allocations: 16 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.3477, allocations: 47.7 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.3478, allocations: 67.55 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.3481, allocations: 178 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3481, allocations: 0 / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3481, allocations: 0 / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3481, allocations: 0 / 435.7 MB, free: 3.301 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.0008508/0.349, allocations: 437.2 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.349, allocations: 12.03 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.3493, allocations: 44.7 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.3497, allocations: 186 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3497, allocations: 16.38 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.3497, allocations: 12.38 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.3501, allocations: 164.4 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3501, allocations: 4 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3502, allocations: 7.984 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3502, allocations: 4 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.3505, allocations: 87.88 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3515, allocations: 0.5317 MB / 437.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.3518, allocations: 123.8 kB / 437.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.352, allocations: 62.61 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.352, allocations: 7.938 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.352, allocations: 38.56 kB / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.352, allocations: 0 / 437.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006119/0.3526, allocations: 169.7 kB / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.3527, allocations: 114.7 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.353, allocations: 191.2 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.353, allocations: 29.83 kB / 437.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3531, allocations: 143.9 kB / 438.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/0.3532, allocations: 51.52 kB / 438.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.3533, allocations: 37.7 kB / 438.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3534, allocations: 330.8 kB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3536, allocations: 39.91 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.3537, allocations: 94.84 kB / 438.6 MB, free: 172 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3541, allocations: 146.7 kB / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3541, allocations: 0 / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004533/0.3545, allocations: 177.3 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3545, allocations: 8.188 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3546, allocations: 4 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3546, allocations: 4 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3548, allocations: 31.97 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.3548, allocations: 4 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3549, allocations: 19.88 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.355, allocations: 11.94 kB / 439 MB, free: 15.74 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.0001382/0.3551, allocations: 133.7 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.3552, allocations: 19.84 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.3557, allocations: 190.5 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3557, allocations: 0 / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3557, allocations: 4 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3557, allocations: 0 / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.3562, allocations: 185.2 kB / 439.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3562, allocations: 0 / 439.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.3564, allocations: 35.97 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.3565, allocations: 7.938 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3565, allocations: 384 / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3565, allocations: 4 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3565, allocations: 8 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.3572, allocations: 475.4 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.3572, allocations: 23.78 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.3573, allocations: 8.062 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3575, allocations: 8.094 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.3576, allocations: 15.95 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3576, allocations: 4 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.3577, allocations: 147.2 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3577, allocations: 0 / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005024/0.3583, allocations: 39.89 kB / 440.3 MB, free: 14.39 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.0001256/0.3584, allocations: 103.2 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.3588, allocations: 114.5 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3588, allocations: 3.938 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3589, allocations: 64.59 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.3595, allocations: 15.94 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3608, allocations: 0.616 MB / 441.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3609, allocations: 133.6 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.018e-05/0.361, allocations: 13.42 kB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.3611, allocations: 19.42 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3611, allocations: 4 kB / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Templates: time 0.00538/0.3665, allocations: 1.376 MB / 442.8 MB, free: 11.88 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 cvode -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: 6.8450950990081765]