Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.001051/0.001051, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.005973/0.005973, allocations: 159.9 kB / 24.7 MB, free: 9.434 MB / 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 0.8789/0.8789, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.542e-05/4.784e-05, allocations: 9.312 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002095/0.002143, allocations: 0.8111 MB / 441.6 MB, free: 2.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.002443, allocations: 47.83 kB / 441.7 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.002539, allocations: 4 kB / 441.7 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.002706, allocations: 11.86 kB / 441.7 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.586e-05/0.002722, allocations: 0 / 441.7 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.002903, allocations: 19.92 kB / 441.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.003044, allocations: 31.92 kB / 441.8 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.003197, allocations: 19.97 kB / 441.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.003261, allocations: 15.92 kB / 441.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.003316, allocations: 8 kB / 441.8 MB, free: 2.789 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.003347, allocations: 4 kB / 441.8 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.003357, allocations: 4 kB / 441.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.003386, allocations: 11.92 kB / 441.8 MB, free: 2.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.003424, allocations: 11.98 kB / 441.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.003597, allocations: 35.83 kB / 441.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.003601, allocations: 0 / 441.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.003604, allocations: 0 / 441.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.00361, allocations: 0 / 441.9 MB, free: 2.723 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005217/0.004132, allocations: 287.1 kB / 442.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.004192, allocations: 12.03 kB / 442.2 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.004241, allocations: 0.9375 kB / 442.2 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.004536, allocations: 125.7 kB / 442.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.004549, allocations: 8.375 kB / 442.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.004571, allocations: 384 / 442.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.004703, allocations: 50.25 kB / 442.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004715, allocations: 192 / 442.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.004729, allocations: 4.312 kB / 442.3 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.004738, allocations: 4.375 kB / 442.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.004787, allocations: 19.92 kB / 442.4 MB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.00533, allocations: 224.4 kB / 442.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.007e-05/0.00539, allocations: 30.58 kB / 442.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.00541, allocations: 8.797 kB / 442.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.005426, allocations: 7.922 kB / 442.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/0.005514, allocations: 59.47 kB / 442.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005515, allocations: 0 / 442.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001753/0.00569, allocations: 49.64 kB / 442.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.005727, allocations: 55.41 kB / 442.8 MB, free: 1.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.005801, allocations: 113.8 kB / 442.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005813, allocations: 25.7 kB / 442.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.005865, allocations: 96.08 kB / 443 MB, free: 1.406 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.00588, allocations: 7.953 kB / 443 MB, free: 1.398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.005909, allocations: 17.72 kB / 443.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.006006, allocations: 314.8 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.006026, allocations: 7.984 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.006047, allocations: 21.66 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.006096, allocations: 25.72 kB / 443.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006099, allocations: 0 / 443.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.117e-05/0.00617, allocations: 57.56 kB / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.006188, allocations: 4 kB / 443.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.006195, allocations: 0 / 443.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.006211, allocations: 4.031 kB / 443.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/0.006256, allocations: 4 kB / 443.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.006264, allocations: 4 kB / 443.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.006289, allocations: 7.984 kB / 443.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.006295, allocations: 0 / 443.5 MB, free: 0.9062 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * 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.287e-05/0.006368, allocations: 114.5 kB / 443.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.00638, allocations: 11.89 kB / 443.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.006406, allocations: 8 kB / 443.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006408, allocations: 0 / 443.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.006412, allocations: 0 / 443.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006415, allocations: 4 kB / 443.6 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.006663, allocations: 246.1 kB / 443.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006665, allocations: 0 / 443.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.006686, allocations: 0 / 443.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.006689, allocations: 0 / 443.9 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.006699, allocations: 4 kB / 443.9 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006701, allocations: 0 / 443.9 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006702, allocations: 0 / 443.9 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.006833, allocations: 167.7 kB / 444 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.006844, allocations: 8.016 kB / 444 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006855, allocations: 4 kB / 444 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.057e-05/0.006885, allocations: 8.062 kB / 444.1 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.006915, allocations: 0 / 444.1 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.006922, allocations: 7.984 kB / 444.1 MB, free: 276 kB / 410.7 MB Notification: Performance of sorting global known variables: time 3.132e-05/0.006954, allocations: 79.28 kB / 444.1 MB, free: 196 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006954, allocations: 0 / 444.1 MB, free: 196 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.007109, allocations: 11.94 kB / 444.2 MB, free: 184 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.934e-05/0.007208, allocations: 91.25 kB / 444.2 MB, free: 80 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007309, allocations: 23.92 kB / 444.3 MB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.00731, allocations: 0 / 444.3 MB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.007323, allocations: 8.062 kB / 444.3 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.007549, allocations: 15.92 kB / 444.3 MB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1586/0.1662, allocations: 151.6 kB / 444.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.1662, allocations: 72.42 kB / 444.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1662, allocations: 8.5 kB / 444.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1662, allocations: 0 / 444.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of Templates: time 0.001603/0.1678, allocations: 0.7205 MB / 445.2 MB, free: 46.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.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.776306122541428]