Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 206.8 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.88 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3101, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002059/0.3122, allocations: 0.8123 MB / 0.5626 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001859/0.3124, allocations: 43.83 kB / 0.5626 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3124, allocations: 4 kB / 0.5626 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.3125, allocations: 3.938 kB / 0.5626 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.74e-05/0.3125, allocations: 3.938 kB / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.3126, allocations: 23.97 kB / 0.5627 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.3127, allocations: 31.92 kB / 0.5627 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.3128, allocations: 19.64 kB / 0.5627 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.3128, allocations: 11.94 kB / 0.5627 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.3129, allocations: 15.92 kB / 0.5627 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3129, allocations: 4 kB / 0.5627 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.3129, allocations: 7.938 kB / 0.5628 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3129, allocations: 4 kB / 0.5628 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.3129, allocations: 19.91 kB / 0.5628 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.313, allocations: 31.84 kB / 0.5628 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.313, allocations: 4 kB / 0.5628 GB, free: 3.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.313, allocations: 0 / 0.5628 GB, free: 3.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.313, allocations: 0 / 0.5628 GB, free: 3.164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003734/0.3134, allocations: 281.8 kB / 0.5631 GB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.3134, allocations: 8.031 kB / 0.5631 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.3134, allocations: 12.89 kB / 0.5631 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3136, allocations: 134.4 kB / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-06/0.3136, allocations: 384 / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3136, allocations: 4.375 kB / 0.5632 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.768e-05/0.3137, allocations: 54.25 kB / 0.5633 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.3137, allocations: 192 / 0.5633 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3138, allocations: 7.938 kB / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.3138, allocations: 0 / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.3138, allocations: 12 kB / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3142, allocations: 236.4 kB / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.3142, allocations: 22.56 kB / 0.5636 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.3142, allocations: 16.86 kB / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.3143, allocations: 0 / 0.5636 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.022e-05/0.3143, allocations: 55.34 kB / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3143, allocations: 0 / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001283/0.3145, allocations: 49.64 kB / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3145, allocations: 51.41 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.3146, allocations: 109.8 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3146, allocations: 29.64 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.3147, allocations: 96.03 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.3147, allocations: 16.02 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3147, allocations: 21.64 kB / 0.564 GB, free: 1.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3148, allocations: 318.8 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.3149, allocations: 4 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.3149, allocations: 17.72 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.3149, allocations: 29.7 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3149, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.3e-05/0.315, allocations: 53.62 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.315, allocations: 12.03 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.315, allocations: 0 / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.315, allocations: 0 / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.59e-05/0.3151, allocations: 4 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3151, allocations: 0 / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.3151, allocations: 4 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.3151, allocations: 0 / 0.5644 GB, free: 1.348 MB / 398.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 8.07e-05/0.3152, allocations: 117.8 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.3152, allocations: 3.953 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.3152, allocations: 7.984 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3152, allocations: 11.94 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3152, allocations: 0 / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3152, allocations: 0 / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3155, allocations: 238.2 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3155, allocations: 3.984 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.3155, allocations: 4 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3155, allocations: 0 / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3155, allocations: 384 / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3155, allocations: 0 / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3155, allocations: 0 / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.3157, allocations: 163.4 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.3157, allocations: 8.062 kB / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.3157, allocations: 0 / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.3158, allocations: 8.016 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.3158, allocations: 4 kB / 0.5649 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3158, allocations: 7.875 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.3158, allocations: 91.2 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3158, allocations: 0 / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.3161, allocations: 11.94 kB / 0.5651 GB, free: 0.6094 MB / 398.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 7.89e-05/0.3161, allocations: 91.25 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.512e-05/0.3162, allocations: 23.94 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3162, allocations: 0 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.3162, allocations: 7.984 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3165, allocations: 8 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.3168, allocations: 133.6 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.3168, allocations: 63.34 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.3169, allocations: 4 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.3169, allocations: 7.438 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3169, allocations: 0 / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of Templates: time 0.002783/0.3197, allocations: 0.5119 MB / 0.5659 GB, free: 15.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.839051689006737]