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.001803/0.001803, allocations: 82.92 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002023/0.002023, allocations: 157.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.52/1.52, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2161/0.2161, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 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.793e-06/1.793e-06, allocations: 0 / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.609e-05, allocations: 8.891 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002231/0.002267, allocations: 0.8105 MB / 443.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.002508, allocations: 47.77 kB / 443.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.002586, allocations: 7.938 kB / 443.5 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.002803, allocations: 15.86 kB / 443.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.579e-05/0.002819, allocations: 0 / 443.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.002943, allocations: 11.98 kB / 443.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003061, allocations: 35.92 kB / 443.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.003172, allocations: 15.97 kB / 443.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.003225, allocations: 23.92 kB / 443.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.003264, allocations: 0 / 443.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003282, allocations: 4 kB / 443.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.003296, allocations: 4 kB / 443.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.003335, allocations: 15.92 kB / 443.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.003373, allocations: 11.98 kB / 443.6 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003481, allocations: 35.83 kB / 443.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003483, allocations: 0 / 443.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003484, allocations: 0 / 443.7 MB, free: 4.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.003491, allocations: 4 kB / 443.7 MB, free: 4.293 MB / 366.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.0005123/0.004003, allocations: 287 kB / 444 MB, free: 3.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004041, allocations: 8.031 kB / 444 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.004082, allocations: 4.938 kB / 444 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.004296, allocations: 117.7 kB / 444.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004307, allocations: 8.375 kB / 444.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.004327, allocations: 8.375 kB / 444.1 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.004442, allocations: 50.17 kB / 444.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.00445, allocations: 4.188 kB / 444.2 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.004468, allocations: 4.375 kB / 444.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.004472, allocations: 384 / 444.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.004522, allocations: 19.92 kB / 444.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.004977, allocations: 220.5 kB / 444.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.005038, allocations: 26.45 kB / 444.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.005064, allocations: 24.8 kB / 444.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.005075, allocations: 0 / 444.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.062e-05/0.005166, allocations: 55.39 kB / 444.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005167, allocations: 0 / 444.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.005312, allocations: 49.62 kB / 444.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.005367, allocations: 51.41 kB / 444.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.005457, allocations: 109.8 kB / 444.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.005476, allocations: 25.7 kB / 444.7 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.00556, allocations: 100.1 kB / 444.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.005576, allocations: 11.91 kB / 444.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.005607, allocations: 21.72 kB / 444.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.005783, allocations: 314.8 kB / 445.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.005803, allocations: 7.984 kB / 445.2 MB, free: 2.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.005831, allocations: 17.72 kB / 445.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.005878, allocations: 25.66 kB / 445.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00588, allocations: 0 / 445.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.309e-05/0.005973, allocations: 57.62 kB / 445.3 MB, free: 2.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005986, allocations: 4 kB / 445.3 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.005991, allocations: 4 kB / 445.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.006006, allocations: 4 kB / 445.3 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.713e-05/0.006043, allocations: 11.97 kB / 445.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.006047, allocations: 0 / 445.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.006077, allocations: 7.984 kB / 445.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.006083, allocations: 4 kB / 445.3 MB, free: 2.469 MB / 366.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.305e-05/0.006176, allocations: 109.8 kB / 445.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.006193, allocations: 11.89 kB / 445.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.006218, allocations: 4 kB / 445.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.006219, allocations: 0 / 445.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.006223, allocations: 0 / 445.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006226, allocations: 4 kB / 445.4 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.00653, allocations: 250.1 kB / 445.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006531, allocations: 0 / 445.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.006564, allocations: 4 kB / 445.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006566, allocations: 0 / 445.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.006573, allocations: 0 / 445.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006574, allocations: 0 / 445.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006575, allocations: 3.938 kB / 445.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.006742, allocations: 151.8 kB / 445.8 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.006753, allocations: 7.984 kB / 445.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.006765, allocations: 0 / 445.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.00682, allocations: 0 / 445.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.006941, allocations: 19.97 kB / 445.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.006948, allocations: 3.984 kB / 445.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.007004, allocations: 83.28 kB / 446 MB, free: 1.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.007004, allocations: 4 kB / 446 MB, free: 1.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.007229, allocations: 4 kB / 446 MB, free: 1.75 MB / 366.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.956e-05/0.007328, allocations: 91.25 kB / 446 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.727e-05/0.007415, allocations: 15.98 kB / 446.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.007424, allocations: 4 kB / 446.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.007445, allocations: 11.94 kB / 446.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.007778, allocations: 15.98 kB / 446.1 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.008121, allocations: 132.8 kB / 446.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.008202, allocations: 67.33 kB / 446.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.008222, allocations: 4 kB / 446.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.008252, allocations: 8.5 kB / 446.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.008252, allocations: 0 / 446.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of Templates: time 0.003384/0.01164, allocations: 0.4975 MB / 446.8 MB, free: 0.8555 MB / 366.1 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: 5.043816927820444]