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.002429/0.002429, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002834/0.002834, allocations: 160.8 kB / 24.27 MB, free: 156 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.654/1.654, allocations: 177 MB / 204.4 MB, free: 5.609 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.341/0.341, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.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 1.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.842e-05, allocations: 4.703 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.004151/0.00418, allocations: 1.622 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.005504, allocations: 494.6 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.005607, allocations: 4 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.005767, allocations: 19.8 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.005834, allocations: 11.86 kB / 379.3 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.006053, allocations: 35.84 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.006251, allocations: 83.75 kB / 379.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.006396, allocations: 24.22 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.006516, allocations: 43.83 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.006599, allocations: 23.91 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.006627, allocations: 8 kB / 379.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.006646, allocations: 4 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.006686, allocations: 23.91 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.006744, allocations: 19.94 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.006932, allocations: 71.77 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006934, allocations: 0 / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006935, allocations: 0 / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.006939, allocations: 0 / 379.7 MB, free: 424 kB / 346.7 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.0008479/0.007787, allocations: 443.7 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.007831, allocations: 12.03 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.007902, allocations: 16.89 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.008198, allocations: 140.4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.00822, allocations: 8.375 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.00825, allocations: 8.375 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.00846, allocations: 74.22 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.008471, allocations: 192 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.008486, allocations: 4.359 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.008499, allocations: 11.94 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.008625, allocations: 43.86 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.009324, allocations: 335.5 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.00948, allocations: 55 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.009532, allocations: 19.75 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.00955, allocations: 4 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.009725, allocations: 76.95 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.009726, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003111/0.01004, allocations: 85.58 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.0101, allocations: 55.41 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.0103, allocations: 189.9 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01033, allocations: 29.7 kB / 381.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01044, allocations: 155.1 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.01047, allocations: 23.83 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.01053, allocations: 35.36 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002932/0.01083, allocations: 0.4961 MB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.01087, allocations: 12 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.01095, allocations: 58.92 kB / 382 MB, free: 13.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01106, allocations: 59.38 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01106, allocations: 0 / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001638/0.01123, allocations: 93.56 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01124, allocations: 4 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.01124, allocations: 0 / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01126, allocations: 7.984 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.01134, allocations: 11.94 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01134, allocations: 0 / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.01139, allocations: 4 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.0114, allocations: 12 kB / 382.2 MB, free: 13.64 MB / 362.7 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.0001417/0.01155, allocations: 168.6 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.01157, allocations: 7.953 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.0116, allocations: 12.44 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.0116, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01161, allocations: 3.938 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01161, allocations: 0 / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.01204, allocations: 353.2 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01204, allocations: 0 / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.01209, allocations: 8 kB / 382.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.01209, allocations: 4 kB / 382.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.0121, allocations: 7.984 kB / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.01211, allocations: 4 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01211, allocations: 3.938 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.01241, allocations: 235.8 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.01244, allocations: 11.98 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01246, allocations: 0 / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.01254, allocations: 4 kB / 383 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.01259, allocations: 15.92 kB / 383 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.0126, allocations: 0 / 383 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.0127, allocations: 139.2 kB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0127, allocations: 4.031 kB / 383.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01294, allocations: 19.95 kB / 383.2 MB, free: 12.58 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: 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.0003476/0.01329, allocations: 99.22 kB / 383.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.01345, allocations: 59.59 kB / 383.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01345, allocations: 0 / 383.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.01352, allocations: 31.62 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.01386, allocations: 15.98 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.01436, allocations: 210.3 kB / 383.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.01445, allocations: 83.33 kB / 383.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.453e-05/0.01448, allocations: 4 kB / 383.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.01453, allocations: 16.48 kB / 383.7 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01453, allocations: 0 / 383.7 MB, free: 12 MB / 362.7 MB Notification: Performance of Templates: time 0.004191/0.01872, allocations: 0.9204 MB / 384.6 MB, free: 11.1 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins/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: 4.970670205075294]