Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.001589/0.001589, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001863/0.001863, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.428/1.428, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.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.2264/0.2264, allocations: 46.93 MB / 361.5 MB, free: 4.258 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3248, allocations: 66.08 MB / 0.5619 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002957/0.3278, allocations: 1.655 MB / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3289, allocations: 0.6087 MB / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.329, allocations: 0 / 0.5642 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3291, allocations: 11.86 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.3291, allocations: 11.88 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.3295, allocations: 95.75 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3297, allocations: 107.8 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3298, allocations: 34.62 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.3299, allocations: 47.8 kB / 0.5644 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.33, allocations: 39.83 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.33, allocations: 8 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.33, allocations: 8 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.33, allocations: 23.91 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3301, allocations: 43.73 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3303, allocations: 83.36 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3303, allocations: 7.938 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3303, allocations: 0 / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3303, allocations: 0 / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006398/0.3309, allocations: 346.8 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.331, allocations: 12.03 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.331, allocations: 8.891 kB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3313, allocations: 154.3 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3313, allocations: 8.375 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3313, allocations: 12.38 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3316, allocations: 105.8 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3316, allocations: 0 / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3316, allocations: 4 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3316, allocations: 7.984 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3318, allocations: 51.97 kB / 0.5653 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.3325, allocations: 351.6 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.3328, allocations: 106.5 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3329, allocations: 36.88 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3329, allocations: 0 / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3331, allocations: 99.28 kB / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3331, allocations: 0 / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004558/0.3336, allocations: 141.6 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3336, allocations: 59.34 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3338, allocations: 149.2 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3338, allocations: 25.7 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.3339, allocations: 112.1 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3339, allocations: 19.8 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3339, allocations: 21.72 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3341, allocations: 322.8 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3342, allocations: 35.97 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3343, allocations: 57.62 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3345, allocations: 69.69 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3345, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002805/0.3348, allocations: 129.7 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3348, allocations: 7.938 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3348, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3348, allocations: 7.938 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3349, allocations: 19.98 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3349, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.335, allocations: 20.09 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.335, allocations: 8 kB / 0.5671 GB, free: 14.8 MB / 414.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: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001097/0.3352, allocations: 116.2 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3352, allocations: 15.84 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.3352, allocations: 12.72 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3352, allocations: 3.984 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3352, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3352, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3357, allocations: 365.5 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3357, allocations: 0 / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.3358, allocations: 19.98 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3358, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3359, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3359, allocations: 4 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3359, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.3363, allocations: 255.3 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.3363, allocations: 11.94 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3364, allocations: 3.984 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3365, allocations: 19.98 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.3365, allocations: 15.91 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3365, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.379e-05/0.3366, allocations: 111.2 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3366, allocations: 0 / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.3369, allocations: 20.06 kB / 0.568 GB, free: 13.76 MB / 414.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: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000112/0.337, allocations: 91.25 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.3373, allocations: 83.83 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3373, allocations: 0 / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3374, allocations: 51.97 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3377, allocations: 22.7 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.3386, allocations: 292.8 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.339, allocations: 0.7001 MB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.339, allocations: 15.44 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.339, allocations: 0 / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Templates: time 0.003033/0.3421, allocations: 1.356 MB / 0.5705 GB, free: 11.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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: 7.381051664007828]