Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.000913/0.000913, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009433/0.0009433, allocations: 150.2 kB / 24.81 MB, free: 9.285 MB / 18.57 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 0.9475/0.9475, allocations: 173.3 MB / 201.4 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] 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.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.313e-05, allocations: 2.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00166/0.001673, allocations: 1.505 MB / 269.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005162/0.00219, allocations: 454.7 kB / 270.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.002223, allocations: 0 / 270.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.002249, allocations: 7.922 kB / 270.3 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.002329, allocations: 19.8 kB / 270.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.002455, allocations: 27.84 kB / 270.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.002529, allocations: 71.7 kB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.002562, allocations: 0 / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.00269, allocations: 39.91 kB / 270.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.00274, allocations: 39.88 kB / 270.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.002757, allocations: 4 kB / 270.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-06/0.002766, allocations: 4 kB / 270.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.002783, allocations: 11.94 kB / 270.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.002806, allocations: 15.98 kB / 270.6 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.269e-05/0.002889, allocations: 47.81 kB / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.002891, allocations: 0 / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002891, allocations: 0 / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.002894, allocations: 0 / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003531/0.003247, allocations: 408.3 kB / 271 MB, free: 3.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.00328, allocations: 16.92 kB / 271 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.003307, allocations: 4.938 kB / 271 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.924e-05/0.003376, allocations: 128.4 kB / 271.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.003385, allocations: 4.375 kB / 271.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.003393, allocations: 4.375 kB / 271.2 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.003512, allocations: 89.55 kB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.003517, allocations: 0 / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.003523, allocations: 0 / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003527, allocations: 0 / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.003559, allocations: 23.92 kB / 271.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.003664, allocations: 120.7 kB / 271.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.003733, allocations: 85.25 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.00376, allocations: 35.09 kB / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.003773, allocations: 0 / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.003794, allocations: 41.33 kB / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003795, allocations: 0 / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000131/0.003926, allocations: 69.88 kB / 271.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.003963, allocations: 106.8 kB / 271.7 MB, free: 2.625 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.004037, allocations: 193.5 kB / 271.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.004047, allocations: 29.64 kB / 272 MB, free: 2.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.004085, allocations: 130.9 kB / 272.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.00417, allocations: 27.77 kB / 272.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.004214, allocations: 23.36 kB / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.004331, allocations: 0.4884 MB / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.004371, allocations: 4 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.004404, allocations: 27.06 kB / 272.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.004461, allocations: 46.98 kB / 272.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.004466, allocations: 8 kB / 272.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.687e-05/0.004562, allocations: 57.58 kB / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.004576, allocations: 4 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.004583, allocations: 4 kB / 272.8 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.004598, allocations: 3.938 kB / 272.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.0047, allocations: 11.98 kB / 272.8 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.004705, allocations: 12.08 kB / 272.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.004744, allocations: 4 kB / 272.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.004749, allocations: 0 / 272.8 MB, free: 1.484 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 7.033e-05/0.004819, allocations: 156.6 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.004834, allocations: 7.953 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.004863, allocations: 15.95 kB / 273 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.004867, allocations: 3.938 kB / 273 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.004868, allocations: 0 / 273 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.004873, allocations: 4 kB / 273 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.004957, allocations: 109.2 kB / 273.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.004958, allocations: 4 kB / 273.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.005009, allocations: 15.92 kB / 273.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.005012, allocations: 4 kB / 273.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.005018, allocations: 0 / 273.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.00502, allocations: 3.984 kB / 273.1 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005021, allocations: 0 / 273.1 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.005135, allocations: 107.8 kB / 273.2 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.005148, allocations: 15.97 kB / 273.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.005158, allocations: 3.984 kB / 273.2 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.005192, allocations: 11.94 kB / 273.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.005236, allocations: 15.92 kB / 273.3 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.005241, allocations: 4 kB / 273.3 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.005286, allocations: 131.2 kB / 273.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005286, allocations: 0 / 273.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001259/0.005412, allocations: 11.94 kB / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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 8.249e-05/0.005494, allocations: 95.19 kB / 273.5 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.005584, allocations: 35.59 kB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.005586, allocations: 192 / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.005609, allocations: 19.69 kB / 273.6 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.00573, allocations: 10.64 kB / 273.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.006183, allocations: 201.2 kB / 273.8 MB, free: 400 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.006212, allocations: 55.36 kB / 273.8 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.006242, allocations: 8.188 kB / 273.8 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.006293, allocations: 74.19 kB / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.006294, allocations: 0 / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of Templates: time 0.002065/0.008359, allocations: 0.6664 MB / 274.6 MB, free: 15.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.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.597781979944557]