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.001754/0.001754, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001731/0.001731, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 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 1.515/1.515, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 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.3524/0.3524, allocations: 34.24 MB / 295.2 MB, free: 0.6719 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.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.116e-05, allocations: 12.64 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002026/0.002057, allocations: 0.8066 MB / 378 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.002276, allocations: 43.83 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.002335, allocations: 4 kB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.00245, allocations: 11.92 kB / 378.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.813e-05/0.002468, allocations: 3.938 kB / 378.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.002582, allocations: 15.98 kB / 378.1 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.002696, allocations: 39.86 kB / 378.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.002793, allocations: 15.97 kB / 378.1 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.002847, allocations: 15.98 kB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.002893, allocations: 11.92 kB / 378.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.002913, allocations: 4 kB / 378.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.002926, allocations: 4 kB / 378.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.002945, allocations: 4 kB / 378.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.002977, allocations: 7.938 kB / 378.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003098, allocations: 43.88 kB / 378.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0031, allocations: 0 / 378.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003101, allocations: 0 / 378.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.003104, allocations: 0 / 378.2 MB, free: 1.867 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.0004951/0.003599, allocations: 283 kB / 378.5 MB, free: 1.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.003634, allocations: 12.03 kB / 378.5 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.003683, allocations: 8.891 kB / 378.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.003907, allocations: 125.7 kB / 378.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.003922, allocations: 4.375 kB / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.003945, allocations: 4.375 kB / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.00407, allocations: 50.25 kB / 378.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004077, allocations: 192 / 378.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.00409, allocations: 4.375 kB / 378.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.004099, allocations: 8.359 kB / 378.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.004158, allocations: 19.88 kB / 378.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.004665, allocations: 224.5 kB / 379 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.004733, allocations: 22.52 kB / 379 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.004757, allocations: 12.8 kB / 379 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.004769, allocations: 8.062 kB / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.486e-05/0.004864, allocations: 51.41 kB / 379.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004865, allocations: 0 / 379.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.000175/0.00504, allocations: 53.67 kB / 379.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.005099, allocations: 55.34 kB / 379.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.005214, allocations: 105.8 kB / 379.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.005236, allocations: 29.7 kB / 379.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.005309, allocations: 96.14 kB / 379.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005328, allocations: 11.95 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.005364, allocations: 13.72 kB / 379.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.005549, allocations: 318.8 kB / 379.7 MB, free: 208 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.005566, allocations: 8 kB / 379.7 MB, free: 200 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.005596, allocations: 17.72 kB / 379.7 MB, free: 176 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.005643, allocations: 21.72 kB / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005644, allocations: 0 / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.933e-05/0.005744, allocations: 65.52 kB / 379.8 MB, free: 76 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.005759, allocations: 8 kB / 379.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005764, allocations: 0 / 379.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.005782, allocations: 0 / 379.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.422e-05/0.005816, allocations: 7.984 kB / 379.8 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.00582, allocations: 4.031 kB / 379.9 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.005848, allocations: 7.938 kB / 379.9 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005853, allocations: 3.938 kB / 379.9 MB, free: 44 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 0.0001243/0.005977, allocations: 113.8 kB / 380 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.00599, allocations: 3.938 kB / 380 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.006016, allocations: 8 kB / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.006017, allocations: 0 / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006021, allocations: 0 / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.006026, allocations: 3.984 kB / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.006352, allocations: 246.2 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006353, allocations: 7.938 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.006382, allocations: 0 / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006384, allocations: 0 / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.006395, allocations: 3.984 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.006399, allocations: 4.312 kB / 380.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006399, allocations: 0 / 380.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.006582, allocations: 147.5 kB / 380.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.006597, allocations: 11.98 kB / 380.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.006609, allocations: 0 / 380.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.006669, allocations: 4 kB / 380.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.00671, allocations: 4.406 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.006721, allocations: 8.062 kB / 380.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.006779, allocations: 83.27 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006779, allocations: 0 / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000235/0.007014, allocations: 15.88 kB / 380.5 MB, free: 15.33 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 0.0001128/0.007127, allocations: 99.23 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.007214, allocations: 19.98 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007216, allocations: 0 / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.007234, allocations: 4 kB / 380.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.007508, allocations: 15.92 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.007867, allocations: 140.3 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.978e-05/0.007946, allocations: 74.7 kB / 380.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.985e-05/0.007966, allocations: 4 kB / 380.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.007998, allocations: 8.5 kB / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.007998, allocations: 0 / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.003113/0.01111, allocations: 0.5096 MB / 381.4 MB, free: 14.41 MB / 362.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.699917679070495]