Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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.001965/0.001965, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002962/0.002962, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2095/0.2095, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.067e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002784/0.002815, allocations: 1.677 MB / 348.6 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.003801, allocations: 0.6242 MB / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003912, allocations: 3.938 kB / 349.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.003948, allocations: 15.86 kB / 349.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.004075, allocations: 15.8 kB / 349.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.004442, allocations: 143.6 kB / 349.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.004622, allocations: 159.6 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004741, allocations: 29.23 kB / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.004892, allocations: 91.8 kB / 349.7 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.004989, allocations: 55.8 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.00503, allocations: 12 kB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.005054, allocations: 12 kB / 349.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.005088, allocations: 31.91 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.005141, allocations: 43.89 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005324, allocations: 151.5 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005326, allocations: 0 / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005327, allocations: 0 / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.005334, allocations: 0 / 350 MB, free: 6.738 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006002/0.005934, allocations: 483.6 kB / 350.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.005974, allocations: 12.03 kB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.006058, allocations: 20.84 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.006296, allocations: 180.3 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006315, allocations: 4.375 kB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.006352, allocations: 16.38 kB / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.006741, allocations: 323.4 kB / 351 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.006756, allocations: 4.188 kB / 351 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.006776, allocations: 4.375 kB / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006784, allocations: 7.922 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.007075, allocations: 91.94 kB / 351.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.007828, allocations: 431.3 kB / 351.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.00826, allocations: 151 kB / 351.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.008411, allocations: 63.69 kB / 351.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.008441, allocations: 0 / 351.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.008472, allocations: 45.33 kB / 351.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.008473, allocations: 0 / 351.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.001173/0.009646, allocations: 433.4 kB / 352.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.009697, allocations: 106.8 kB / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.009826, allocations: 220.1 kB / 352.5 MB, free: 3.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.009844, allocations: 25.7 kB / 352.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.009913, allocations: 162.8 kB / 352.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.009946, allocations: 39.73 kB / 352.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.01, allocations: 31.36 kB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.0101, allocations: 0.4962 MB / 353.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.01026, allocations: 75.58 kB / 353.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.01043, allocations: 138.4 kB / 353.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.0107, allocations: 107.6 kB / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.0107, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003505/0.01105, allocations: 169.5 kB / 353.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01107, allocations: 6.188 kB / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01107, allocations: 0 / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01109, allocations: 0 / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.01125, allocations: 35.91 kB / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01126, allocations: 0 / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.01136, allocations: 11.98 kB / 353.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01137, allocations: 4 kB / 353.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001076/0.01148, allocations: 171.3 kB / 354 MB, free: 2.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.056e-05/0.01157, allocations: 114.8 kB / 354.1 MB, free: 2.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001231/0.01169, allocations: 67.61 kB / 354.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.01169, allocations: 0 / 354.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001932/0.01188, allocations: 117.6 kB / 354.3 MB, free: 2.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/0.01189, allocations: 7.938 kB / 354.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-06/0.01189, allocations: 3.984 kB / 354.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-06/0.01189, allocations: 4.031 kB / 354.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.01197, allocations: 23.92 kB / 354.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/0.01197, allocations: 0 / 354.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.01205, allocations: 8 kB / 354.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.01206, allocations: 8 kB / 354.3 MB, free: 2.031 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.193e-05/0.01213, allocations: 272 kB / 354.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.01217, allocations: 23.94 kB / 354.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.01221, allocations: 8.781 kB / 354.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01222, allocations: 4 kB / 354.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01222, allocations: 4 kB / 354.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01222, allocations: 0 / 354.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.01287, allocations: 480.9 kB / 355.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01288, allocations: 8 kB / 355.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.01301, allocations: 27.92 kB / 355.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01302, allocations: 0 / 355.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01303, allocations: 4.031 kB / 355.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01303, allocations: 4 kB / 355.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01303, allocations: 7.922 kB / 355.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.01357, allocations: 371.4 kB / 355.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01359, allocations: 7.953 kB / 355.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.01362, allocations: 4 kB / 355.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.01386, allocations: 39.98 kB / 355.6 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.01392, allocations: 7.922 kB / 355.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.01393, allocations: 4 kB / 355.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.196e-05/0.01401, allocations: 164 kB / 355.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01401, allocations: 0 / 355.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.01433, allocations: 32 kB / 355.8 MB, free: 0.5156 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001187/0.01445, allocations: 103.2 kB / 355.9 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.01495, allocations: 179.2 kB / 356 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01495, allocations: 0 / 356 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.01511, allocations: 71.59 kB / 356.1 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.01555, allocations: 51.84 kB / 356.1 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.01629, allocations: 289.4 kB / 356.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.01642, allocations: 94.77 kB / 356.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.731e-05/0.01652, allocations: 24.47 kB / 356.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.01659, allocations: 16.5 kB / 356.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01659, allocations: 0 / 356.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Templates: time 0.007313/0.02391, allocations: 2.443 MB / 359 MB, free: 13.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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.855782889993861]