Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.001624/0.001624, 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.002024/0.002024, allocations: 217.5 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.2364/0.2364, allocations: 46.93 MB / 361.5 MB, free: 4.176 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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 79.88 kB / 0.4974 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3869, allocations: 66.08 MB / 0.5619 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.003028/0.3899, allocations: 1.636 MB / 0.5635 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.3909, allocations: 0.5308 MB / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.391, allocations: 0 / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3911, allocations: 11.86 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.3912, allocations: 11.88 kB / 0.5641 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3914, allocations: 39.84 kB / 0.5641 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3915, allocations: 79.75 kB / 0.5642 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3916, allocations: 23.88 kB / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.3917, allocations: 27.92 kB / 0.5642 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.3918, allocations: 47.72 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3918, allocations: 4 kB / 0.5643 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.3918, allocations: 8 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3918, allocations: 7.984 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.3919, allocations: 43.73 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.392, allocations: 70.39 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.392, allocations: 0 / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.392, allocations: 0 / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3921, allocations: 0 / 0.5644 GB, free: 1.676 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006004/0.3927, allocations: 330.8 kB / 0.5647 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3927, allocations: 12.03 kB / 0.5647 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.3927, allocations: 12.88 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.393, allocations: 138.3 kB / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.393, allocations: 8.375 kB / 0.5649 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.393, allocations: 4.375 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3932, allocations: 76.23 kB / 0.565 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3932, allocations: 3.984 kB / 0.565 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3932, allocations: 11.98 kB / 0.565 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3932, allocations: 4 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.3933, allocations: 35.92 kB / 0.565 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.3939, allocations: 319.7 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.394, allocations: 50.53 kB / 0.5654 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.394, allocations: 12.86 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.394, allocations: 4 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.3942, allocations: 67.44 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3942, allocations: 0 / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002102/0.3944, allocations: 89.5 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3944, allocations: 59.39 kB / 0.5656 GB, free: 324 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3945, allocations: 140.2 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3946, allocations: 25.7 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.3946, allocations: 108.1 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3947, allocations: 19.98 kB / 0.5659 GB, free: 12 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.3947, allocations: 29.7 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3949, allocations: 314.8 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.3949, allocations: 15.98 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.395, allocations: 38.5 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.3951, allocations: 58.52 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3951, allocations: 3.938 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001329/0.3952, allocations: 85.53 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3952, allocations: 8 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3952, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3952, allocations: 3.938 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.3953, allocations: 19.92 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3953, allocations: 400 / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.3954, allocations: 12.06 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3954, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,fallingEdge.not_u,$PRE.fallingEdge.not_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.0001035/0.3955, allocations: 115.2 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.3955, allocations: 7.953 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3955, allocations: 20.64 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3955, allocations: 0 / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3955, allocations: 0 / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3955, allocations: 0 / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.3959, allocations: 333.5 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3959, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.396, allocations: 4 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.396, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.396, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.396, allocations: 4 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.396, allocations: 0 / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.3962, allocations: 195.3 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3962, allocations: 12.05 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3962, allocations: 7.984 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.3963, allocations: 4 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.3964, allocations: 7.984 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3964, allocations: 4 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.3965, allocations: 109.4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3965, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.3967, allocations: 15.94 kB / 0.5673 GB, free: 14.49 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,fallingEdge.not_u,booleanPulse.pulseStart) * Number of discrete states: 1 (fallingEdge.not_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.0001025/0.3968, allocations: 103.2 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3969, allocations: 47.92 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3969, allocations: 3.938 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.397, allocations: 19.98 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.3973, allocations: 22.81 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.3978, allocations: 228.3 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3981, allocations: 0.7003 MB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3982, allocations: 11.44 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3982, allocations: 0 / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Templates: time 0.00294/0.4011, allocations: 1.156 MB / 0.5695 GB, free: 12.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.551156020956114]