Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001699/0.001699, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002411/0.002411, allocations: 206.4 kB / 23.74 MB, free: 4.543 MB / 14.72 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.59/1.59, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 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.242/0.242, allocations: 44.27 MB / 331.1 MB, free: 9.289 MB / 270.1 MB " [Timeout remaining time 179] 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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 75.91 kB / 468.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1488, allocations: 61.04 MB / 0.5174 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002744/0.1516, allocations: 0.8274 MB / 0.5182 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.1518, allocations: 43.83 kB / 0.5182 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.1519, allocations: 0 / 0.5182 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.1521, allocations: 7.875 kB / 0.5182 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.1521, allocations: 4 kB / 0.5182 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.1522, allocations: 23.91 kB / 0.5183 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1524, allocations: 31.92 kB / 0.5183 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1526, allocations: 23.98 kB / 0.5183 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.1526, allocations: 11.92 kB / 0.5183 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.1527, allocations: 11.92 kB / 0.5183 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1527, allocations: 4 kB / 0.5183 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.1527, allocations: 7.938 kB / 0.5183 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1527, allocations: 4 kB / 0.5183 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.1528, allocations: 11.94 kB / 0.5184 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1529, allocations: 43.81 kB / 0.5184 GB, free: 5.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1529, allocations: 0 / 0.5184 GB, free: 5.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1529, allocations: 0 / 0.5184 GB, free: 5.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1529, allocations: 0 / 0.5184 GB, free: 5.613 MB / 398.1 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.0005637/0.1535, allocations: 287 kB / 0.5187 GB, free: 5.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1536, allocations: 8.031 kB / 0.5187 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1536, allocations: 8.891 kB / 0.5187 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1539, allocations: 122.5 kB / 0.5188 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1539, allocations: 384 / 0.5188 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1539, allocations: 4.375 kB / 0.5188 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.154, allocations: 54.23 kB / 0.5189 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1541, allocations: 192 / 0.5189 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1541, allocations: 3.938 kB / 0.5189 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1541, allocations: 7.984 kB / 0.5189 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.1541, allocations: 15.94 kB / 0.5189 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.1546, allocations: 232.4 kB / 0.5191 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.1547, allocations: 26.58 kB / 0.5191 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.1547, allocations: 4.859 kB / 0.5191 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.1547, allocations: 0 / 0.5191 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.1548, allocations: 55.41 kB / 0.5192 GB, free: 4.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1548, allocations: 0 / 0.5192 GB, free: 4.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001637/0.155, allocations: 53.64 kB / 0.5192 GB, free: 4.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.155, allocations: 59.41 kB / 0.5193 GB, free: 4.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1551, allocations: 105.8 kB / 0.5194 GB, free: 4.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1552, allocations: 29.64 kB / 0.5194 GB, free: 4.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.1552, allocations: 100 kB / 0.5195 GB, free: 4.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.1553, allocations: 3.953 kB / 0.5195 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.1553, allocations: 17.72 kB / 0.5195 GB, free: 4.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1555, allocations: 326.8 kB / 0.5199 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.1555, allocations: 0 / 0.5199 GB, free: 3.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.1555, allocations: 25.66 kB / 0.5199 GB, free: 3.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1556, allocations: 22 kB / 0.5199 GB, free: 3.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1556, allocations: 4 kB / 0.5199 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.068e-05/0.1557, allocations: 57.61 kB / 0.52 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1557, allocations: 4 kB / 0.52 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1557, allocations: 0 / 0.52 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1557, allocations: 0 / 0.52 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.1557, allocations: 11.98 kB / 0.52 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1557, allocations: 0 / 0.52 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.1558, allocations: 11.95 kB / 0.52 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.1558, allocations: 0 / 0.52 GB, free: 3.793 MB / 398.1 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 9.5e-05/0.1559, allocations: 113.8 kB / 0.5201 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.1559, allocations: 8.031 kB / 0.5201 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.1559, allocations: 8 kB / 0.5201 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1559, allocations: 0 / 0.5201 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1559, allocations: 0 / 0.5201 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1559, allocations: 3.984 kB / 0.5201 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.1562, allocations: 246.2 kB / 0.5203 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1562, allocations: 0 / 0.5203 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.1562, allocations: 0 / 0.5203 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1562, allocations: 0 / 0.5203 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1563, allocations: 7.984 kB / 0.5204 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1563, allocations: 0 / 0.5204 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1563, allocations: 4 kB / 0.5204 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1564, allocations: 155.4 kB / 0.5205 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.1564, allocations: 4.031 kB / 0.5205 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1565, allocations: 3.938 kB / 0.5205 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.1565, allocations: 0 / 0.5205 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1566, allocations: 3.984 kB / 0.5205 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.1566, allocations: 7.938 kB / 0.5205 GB, free: 3.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.1566, allocations: 87.22 kB / 0.5206 GB, free: 3.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1566, allocations: 0 / 0.5206 GB, free: 3.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1568, allocations: 11.95 kB / 0.5206 GB, free: 3.07 MB / 398.1 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.914e-05/0.1569, allocations: 99.3 kB / 0.5207 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.157, allocations: 19.94 kB / 0.5207 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.157, allocations: 0 / 0.5207 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.1571, allocations: 8 kB / 0.5207 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1573, allocations: 15.92 kB / 0.5208 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.1577, allocations: 163.8 kB / 0.5209 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.926e-05/0.1578, allocations: 67.33 kB / 0.521 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1579, allocations: 11.44 kB / 0.521 GB, free: 2.633 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1579, allocations: 4.062 kB / 0.521 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Templates: time 0.002573/0.1604, allocations: 0.7233 MB / 0.5217 GB, free: 1.906 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.581239996943623]