Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.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.001608/0.001608, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001617/0.001617, allocations: 159.2 kB / 24.5 MB, free: 3.715 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.506/1.506, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 32.8 MB / 294.1 MB, free: 16 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 67.91 kB / 440.5 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3793, allocations: 65.44 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002317/0.3816, allocations: 1.635 MB / 0.4957 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.3824, allocations: 0.5522 MB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.3825, allocations: 3.938 kB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3826, allocations: 11.44 kB / 0.4963 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.3826, allocations: 19 kB / 0.4963 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3829, allocations: 91.31 kB / 0.4964 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.383, allocations: 113.3 kB / 0.4965 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.3831, allocations: 25.41 kB / 0.4965 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.3832, allocations: 49.67 kB / 0.4966 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.3833, allocations: 31.27 kB / 0.4966 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3833, allocations: 9.156 kB / 0.4966 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.3833, allocations: 6.438 kB / 0.4966 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.3833, allocations: 26.59 kB / 0.4966 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.3834, allocations: 32.75 kB / 0.4967 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3835, allocations: 90 kB / 0.4968 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3835, allocations: 3.938 kB / 0.4968 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3835, allocations: 0 / 0.4968 GB, free: 29.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3835, allocations: 0 / 0.4968 GB, free: 29.67 MB / 446.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.0005091/0.384, allocations: 347.6 kB / 0.4971 GB, free: 29.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.384, allocations: 13.31 kB / 0.4971 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.3841, allocations: 14.62 kB / 0.4971 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3843, allocations: 153 kB / 0.4973 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3843, allocations: 7.562 kB / 0.4973 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.3843, allocations: 6.688 kB / 0.4973 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.3845, allocations: 107.3 kB / 0.4974 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3845, allocations: 0 / 0.4974 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3846, allocations: 4 kB / 0.4974 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3846, allocations: 3.188 kB / 0.4974 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3847, allocations: 53.84 kB / 0.4974 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.3852, allocations: 314.7 kB / 0.4977 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.3855, allocations: 101.8 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3856, allocations: 36.27 kB / 0.4979 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3857, allocations: 0 / 0.4979 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.3859, allocations: 107.7 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3859, allocations: 0 / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.3863, allocations: 137.8 kB / 0.4981 GB, free: 28.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3863, allocations: 58.72 kB / 0.4982 GB, free: 28.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.3864, allocations: 131.6 kB / 0.4983 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3864, allocations: 32.83 kB / 0.4983 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.3864, allocations: 98.77 kB / 0.4984 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3864, allocations: 30.25 kB / 0.4984 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3865, allocations: 23 kB / 0.4985 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.091e-05/0.3865, allocations: 321.4 kB / 0.4988 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3866, allocations: 34.42 kB / 0.4988 GB, free: 28.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3867, allocations: 58.72 kB / 0.4989 GB, free: 27.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3869, allocations: 78.52 kB / 0.4989 GB, free: 27.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3869, allocations: 0 / 0.4989 GB, free: 27.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002492/0.3872, allocations: 123 kB / 0.499 GB, free: 27.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3872, allocations: 5.938 kB / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3872, allocations: 0 / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3872, allocations: 0 / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.3873, allocations: 19.23 kB / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3873, allocations: 3.938 kB / 0.4991 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.3874, allocations: 16.98 kB / 0.4991 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3874, allocations: 6.781 kB / 0.4991 GB, free: 27.88 MB / 446.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 5.524e-05/0.3875, allocations: 120.1 kB / 0.4992 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.3875, allocations: 7.141 kB / 0.4992 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3875, allocations: 11.84 kB / 0.4992 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3875, allocations: 0 / 0.4992 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3875, allocations: 3.938 kB / 0.4992 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3875, allocations: 3.328 kB / 0.4992 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3879, allocations: 323.5 kB / 0.4995 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3879, allocations: 10.55 kB / 0.4996 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.388, allocations: 6.281 kB / 0.4996 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.388, allocations: 3.25 kB / 0.4996 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.388, allocations: 11.36 kB / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.388, allocations: 0 / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.388, allocations: 0 / 0.4996 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3884, allocations: 250.5 kB / 0.4998 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.3884, allocations: 6.828 kB / 0.4998 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3884, allocations: 7.031 kB / 0.4998 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3885, allocations: 20 kB / 0.4998 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.3886, allocations: 16.94 kB / 0.4999 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3886, allocations: 2.938 kB / 0.4999 GB, free: 27.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.24e-05/0.3886, allocations: 102.7 kB / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3889, allocations: 18.72 kB / 0.5 GB, free: 27.2 MB / 446.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 6.383e-05/0.3889, allocations: 99.08 kB / 0.5001 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.3892, allocations: 88.5 kB / 0.5002 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3892, allocations: 0 / 0.5002 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3893, allocations: 44.61 kB / 0.5002 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3896, allocations: 13.77 kB / 0.5002 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/0.3905, allocations: 272.7 kB / 0.5005 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.3905, allocations: 86.3 kB / 0.5006 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.3906, allocations: 14.52 kB / 0.5006 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.3906, allocations: 15.91 kB / 0.5006 GB, free: 26.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3906, allocations: 0 / 0.5006 GB, free: 26.81 MB / 446.1 MB Notification: Performance of Templates: time 0.003636/0.3942, allocations: 1.244 MB / 0.5018 GB, free: 26.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.96764849498868]