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.001454/0.001454, allocations: 83.73 kB / 20.52 MB, free: 1.117 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.001532/0.001532, allocations: 167.8 kB / 23.76 MB, free: 4.195 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.431/1.431, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.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.2183/0.2183, allocations: 32.38 MB / 270.1 MB, free: 2.723 MB / 254.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.002323/0.002323, allocations: 67.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 61.04 MB / 468.8 MB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002315/0.1345, allocations: 0.816 MB / 469.6 MB, free: 7.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002342/0.1348, allocations: 55.75 kB / 469.7 MB, free: 7.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.1348, allocations: 3.938 kB / 469.7 MB, free: 7.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1349, allocations: 7.938 kB / 469.7 MB, free: 7.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.934e-05/0.135, allocations: 7.938 kB / 469.7 MB, free: 7.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.1351, allocations: 19.98 kB / 469.7 MB, free: 7.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1352, allocations: 39.89 kB / 469.7 MB, free: 7.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1353, allocations: 12 kB / 469.7 MB, free: 7.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.1353, allocations: 15.92 kB / 469.8 MB, free: 7.355 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.1354, allocations: 3.938 kB / 469.8 MB, free: 7.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1354, allocations: 4 kB / 469.8 MB, free: 7.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.1354, allocations: 4 kB / 469.8 MB, free: 7.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.1354, allocations: 11.92 kB / 469.8 MB, free: 7.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.1354, allocations: 11.94 kB / 469.8 MB, free: 7.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1356, allocations: 43.77 kB / 469.8 MB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1356, allocations: 3.984 kB / 469.8 MB, free: 7.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1356, allocations: 4 kB / 469.8 MB, free: 7.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1356, allocations: 0 / 469.8 MB, free: 7.27 MB / 446.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.0004552/0.136, allocations: 275.1 kB / 470.1 MB, free: 6.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1361, allocations: 8.031 kB / 470.1 MB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1361, allocations: 8.891 kB / 470.1 MB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1363, allocations: 130.4 kB / 470.3 MB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1363, allocations: 4.375 kB / 470.3 MB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1364, allocations: 4.375 kB / 470.3 MB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1365, allocations: 50.23 kB / 470.3 MB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1365, allocations: 8.188 kB / 470.3 MB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1365, allocations: 7.938 kB / 470.3 MB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1365, allocations: 4 kB / 470.3 MB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.1366, allocations: 11.98 kB / 470.3 MB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.137, allocations: 232.3 kB / 470.6 MB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.1371, allocations: 22.58 kB / 470.6 MB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.1371, allocations: 8.859 kB / 470.6 MB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.1371, allocations: 0 / 470.6 MB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.004e-05/0.1372, allocations: 55.41 kB / 470.7 MB, free: 6.336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1372, allocations: 4 kB / 470.7 MB, free: 6.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001327/0.1373, allocations: 45.69 kB / 470.7 MB, free: 6.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1374, allocations: 55.41 kB / 470.8 MB, free: 6.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.1375, allocations: 105.8 kB / 470.9 MB, free: 6.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1375, allocations: 25.7 kB / 470.9 MB, free: 6.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.1375, allocations: 92.09 kB / 471 MB, free: 5.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1376, allocations: 11.94 kB / 471 MB, free: 5.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1376, allocations: 13.72 kB / 471 MB, free: 5.945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.1378, allocations: 330.7 kB / 471.3 MB, free: 5.613 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.1378, allocations: 3.938 kB / 471.3 MB, free: 5.609 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.1379, allocations: 29.7 kB / 471.4 MB, free: 5.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.1379, allocations: 21.72 kB / 471.4 MB, free: 5.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1379, allocations: 0 / 471.4 MB, free: 5.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.749e-05/0.138, allocations: 61.58 kB / 471.4 MB, free: 5.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.138, allocations: 4 kB / 471.4 MB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.138, allocations: 336 / 471.4 MB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.138, allocations: 0 / 471.4 MB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.97e-05/0.138, allocations: 4 kB / 471.4 MB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.138, allocations: 0 / 471.4 MB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.1381, allocations: 4 kB / 471.5 MB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.1381, allocations: 4.031 kB / 471.5 MB, free: 5.465 MB / 446.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.02e-05/0.1382, allocations: 121.8 kB / 471.6 MB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.1382, allocations: 7.984 kB / 471.6 MB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.1382, allocations: 4 kB / 471.6 MB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1382, allocations: 0 / 471.6 MB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1382, allocations: 0 / 471.6 MB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1382, allocations: 3.938 kB / 471.6 MB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.1385, allocations: 254.2 kB / 471.8 MB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1385, allocations: 0 / 471.8 MB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.1385, allocations: 0 / 471.8 MB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1385, allocations: 4 kB / 471.8 MB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1385, allocations: 4 kB / 471.8 MB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1385, allocations: 0 / 471.8 MB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1385, allocations: 0 / 471.8 MB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.1387, allocations: 151.4 kB / 472 MB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.1387, allocations: 11.97 kB / 472 MB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1387, allocations: 4 kB / 472 MB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.1388, allocations: 4 kB / 472 MB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.1388, allocations: 0 / 472 MB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1388, allocations: 7.938 kB / 472 MB, free: 4.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.098e-05/0.1389, allocations: 83.27 kB / 472.1 MB, free: 4.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1389, allocations: 4.062 kB / 472.1 MB, free: 4.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1391, allocations: 15.94 kB / 472.1 MB, free: 4.734 MB / 446.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 8.357e-05/0.1392, allocations: 87.25 kB / 472.2 MB, free: 4.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.1393, allocations: 27.86 kB / 472.2 MB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1393, allocations: 0 / 472.2 MB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.1393, allocations: 8 kB / 472.2 MB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1396, allocations: 15.92 kB / 472.3 MB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1399, allocations: 138 kB / 472.4 MB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.14, allocations: 75.34 kB / 472.5 MB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.14, allocations: 7.984 kB / 472.5 MB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.14, allocations: 8.5 kB / 472.5 MB, free: 4.316 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.14, allocations: 0 / 472.5 MB, free: 4.316 MB / 446.1 MB Notification: Performance of Templates: time 0.003087/0.1431, allocations: 0.5131 MB / 473 MB, free: 3.812 MB / 446.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 -s ida -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: 5.093032394070178]