Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008522/0.0008522, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003136/0.003136, allocations: 153.5 kB / 24.69 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8271/0.8271, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.919e-05, allocations: 2.281 kB / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001264/0.001283, allocations: 0.8207 MB / 444.2 MB, free: 272 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.001455, allocations: 43.89 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.001517, allocations: 3.938 kB / 444.3 MB, free: 224 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.001621, allocations: 7.922 kB / 444.3 MB, free: 216 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.472e-05/0.001636, allocations: 3.938 kB / 444.3 MB, free: 212 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.00174, allocations: 27.91 kB / 444.3 MB, free: 184 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.001831, allocations: 35.92 kB / 444.3 MB, free: 148 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.001926, allocations: 11.98 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.001964, allocations: 23.92 kB / 444.4 MB, free: 112 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.002, allocations: 3.984 kB / 444.4 MB, free: 108 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.002021, allocations: 4 kB / 444.4 MB, free: 104 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.002028, allocations: 4 kB / 444.4 MB, free: 100 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.002046, allocations: 11.92 kB / 444.4 MB, free: 88 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.002065, allocations: 4 kB / 444.4 MB, free: 84 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.252e-05/0.002158, allocations: 43.81 kB / 444.4 MB, free: 40 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002159, allocations: 4 kB / 444.4 MB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00216, allocations: 4 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.002164, allocations: 0 / 444.5 MB, free: 32 kB / 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.1486/0.1508, allocations: 271.7 kB / 444.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1508, allocations: 10.44 kB / 444.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1508, allocations: 3.75 kB / 444.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.151, allocations: 128.7 kB / 444.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.151, allocations: 384 / 444.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.151, allocations: 6.312 kB / 444.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.1511, allocations: 52.64 kB / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1511, allocations: 7.406 kB / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1511, allocations: 384 / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1511, allocations: 384 / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.1512, allocations: 23.39 kB / 444.9 MB, free: 44.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1515, allocations: 218.9 kB / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.1515, allocations: 28.72 kB / 445.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.1516, allocations: 15.39 kB / 445.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.1516, allocations: 0 / 445.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.1516, allocations: 49.11 kB / 445.2 MB, free: 43.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1516, allocations: 0 / 445.2 MB, free: 43.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001136/0.1517, allocations: 52.17 kB / 445.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.1517, allocations: 52.12 kB / 445.4 MB, free: 43.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.104e-05/0.1518, allocations: 114.3 kB / 445.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.1518, allocations: 31.34 kB / 445.5 MB, free: 43.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.1518, allocations: 86.58 kB / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.1518, allocations: 13.73 kB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.1519, allocations: 18.67 kB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.474e-05/0.1519, allocations: 316.2 kB / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.1519, allocations: 8.031 kB / 445.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.1519, allocations: 21.23 kB / 445.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.1519, allocations: 27.81 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1519, allocations: 0 / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.114e-05/0.152, allocations: 56.59 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.152, allocations: 5.656 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.152, allocations: 2.812 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.152, allocations: 2.219 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.152, allocations: 9.688 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.152, allocations: 3.234 kB / 446.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.152, allocations: 1.375 kB / 446.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.152, allocations: 2.5 kB / 446.1 MB, free: 43.18 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 3.627e-05/0.1521, allocations: 114.5 kB / 446.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-06/0.1521, allocations: 14.33 kB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.1521, allocations: 5.188 kB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1521, allocations: 2.875 kB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1521, allocations: 0 / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1521, allocations: 3.469 kB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1522, allocations: 247.6 kB / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1522, allocations: 0 / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.1522, allocations: 2.844 kB / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.1522, allocations: 0 / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1523, allocations: 6.719 kB / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1523, allocations: 0 / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1523, allocations: 0 / 446.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.1523, allocations: 155 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.1523, allocations: 10.22 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.1523, allocations: 0 / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.1524, allocations: 2.562 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.1524, allocations: 13.23 kB / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1524, allocations: 0 / 446.6 MB, free: 42.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.43e-05/0.1524, allocations: 83.88 kB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1524, allocations: 1.312 kB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.1526, allocations: 9.719 kB / 446.7 MB, free: 42.6 MB / 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 5.426e-05/0.1526, allocations: 98.02 kB / 446.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.1527, allocations: 21.83 kB / 446.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1527, allocations: 3.938 kB / 446.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.1527, allocations: 9.75 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.1529, allocations: 13.47 kB / 446.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.1531, allocations: 154.1 kB / 447 MB, free: 42.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.1531, allocations: 72.39 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.1531, allocations: 11.47 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1531, allocations: 0 / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of Templates: time 0.001287/0.1544, allocations: 0.7156 MB / 447.8 MB, free: 42.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.34691727347672]