Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001881/0.001881, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002183/0.002183, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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 1.482/1.482, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3518/0.3518, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.872e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002186/0.002215, allocations: 0.8104 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.002538, allocations: 39.89 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.002639, allocations: 7.938 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.002873, allocations: 7.922 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.039e-05/0.002903, allocations: 3.984 kB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.003079, allocations: 11.98 kB / 378.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.003254, allocations: 35.86 kB / 378.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.003432, allocations: 23.92 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.003507, allocations: 19.97 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.003576, allocations: 11.92 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.003606, allocations: 4 kB / 378.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.003619, allocations: 0 / 378.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.003651, allocations: 8 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.003696, allocations: 11.94 kB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.003864, allocations: 35.88 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.003866, allocations: 0 / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003867, allocations: 0 / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.003875, allocations: 0 / 378.3 MB, free: 1.934 MB / 346.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.0006532/0.004528, allocations: 275.1 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.004573, allocations: 19.97 kB / 378.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.004622, allocations: 8.891 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.004858, allocations: 129.7 kB / 378.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.004874, allocations: 4.375 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.004899, allocations: 4.375 kB / 378.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.005032, allocations: 50.25 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.00504, allocations: 192 / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.005052, allocations: 4.359 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.005057, allocations: 384 / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.005109, allocations: 23.92 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.005615, allocations: 228.4 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.005693, allocations: 26.58 kB / 379.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.005718, allocations: 8.797 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.005732, allocations: 0 / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.489e-05/0.005826, allocations: 51.47 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.005827, allocations: 3.938 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001594/0.005987, allocations: 49.69 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.006035, allocations: 51.41 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.006146, allocations: 117.8 kB / 379.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.006166, allocations: 25.7 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.006238, allocations: 96.08 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.006251, allocations: 3.953 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.006288, allocations: 17.72 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002699/0.006557, allocations: 318.8 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.006588, allocations: 8 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.006616, allocations: 13.72 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.006662, allocations: 29.66 kB / 379.8 MB, free: 216 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006664, allocations: 0 / 379.8 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.536e-05/0.006759, allocations: 65.52 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.006773, allocations: 4 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.006778, allocations: 4 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.006795, allocations: 0 / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.109e-05/0.006826, allocations: 4 kB / 379.9 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.006837, allocations: 3.984 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.006862, allocations: 0 / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.006868, allocations: 4 kB / 379.9 MB, free: 124 kB / 346.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 9.809e-05/0.006966, allocations: 113.8 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.00698, allocations: 7.984 kB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.007002, allocations: 12.03 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.007005, allocations: 4 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.00701, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.007012, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.007321, allocations: 254.4 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007323, allocations: 48 / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.007361, allocations: 11.98 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.007363, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.007369, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.00737, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.00737, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.007557, allocations: 163.4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.00757, allocations: 7.953 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007583, allocations: 4.031 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.007637, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.007663, allocations: 3.984 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.007667, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.007723, allocations: 87.28 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007723, allocations: 0 / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.007938, allocations: 7.938 kB / 380.6 MB, free: 15.39 MB / 362.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.438e-05/0.008032, allocations: 91.25 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.827e-05/0.0081, allocations: 27.98 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008102, allocations: 0 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.008121, allocations: 8 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.008399, allocations: 13.95 kB / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.008751, allocations: 132.4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.347e-05/0.008835, allocations: 75.23 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.008855, allocations: 4 kB / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.008884, allocations: 8.5 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.008884, allocations: 4.062 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Templates: time 0.003261/0.01215, allocations: 0.496 MB / 381.4 MB, free: 14.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.791441167006269]