Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001577/0.001577, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001844/0.001844, allocations: 209 kB / 24.48 MB, free: 3.938 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2261/0.2261, allocations: 46.97 MB / 361.6 MB, free: 4.004 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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 75.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2858, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00307/0.2888, allocations: 1.62 MB / 0.5634 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.29, allocations: 0.5503 MB / 0.5639 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.2901, allocations: 7.938 kB / 0.5639 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.2902, allocations: 15.86 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.2902, allocations: 11.86 kB / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.2906, allocations: 91.83 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.2907, allocations: 115.7 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2909, allocations: 27.62 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.291, allocations: 39.91 kB / 0.5642 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.291, allocations: 43.77 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2911, allocations: 8 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.2911, allocations: 11.94 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.2911, allocations: 15.92 kB / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.2912, allocations: 39.8 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2914, allocations: 86.38 kB / 0.5644 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2914, allocations: 4 kB / 0.5644 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2914, allocations: 0 / 0.5644 GB, free: 1.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2914, allocations: 0 / 0.5644 GB, free: 1.449 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.0007307/0.2921, allocations: 350.8 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2922, allocations: 16.02 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.2922, allocations: 8.891 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.2925, allocations: 149.4 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2925, allocations: 8.375 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.2925, allocations: 12.31 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.2928, allocations: 101.9 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2928, allocations: 0 / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2929, allocations: 8 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2929, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.293, allocations: 55.95 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.2937, allocations: 308.2 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.294, allocations: 110.4 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2942, allocations: 36.91 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2942, allocations: 0 / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.2944, allocations: 103.3 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2944, allocations: 0 / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005101/0.295, allocations: 141.5 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.295, allocations: 51.41 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2951, allocations: 134 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.2952, allocations: 33.7 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.2952, allocations: 104.3 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.2953, allocations: 23.88 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.2953, allocations: 29.7 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2955, allocations: 318.8 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2956, allocations: 31.97 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.2957, allocations: 53.69 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.296, allocations: 73.62 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.296, allocations: 0 / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003083/0.2963, allocations: 129.7 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2963, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2963, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2963, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.2964, allocations: 15.98 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2964, allocations: 3.938 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.2965, allocations: 15.98 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2965, allocations: 8 kB / 0.5668 GB, free: 14.86 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.0001001/0.2966, allocations: 120.6 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.2966, allocations: 7.953 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.2967, allocations: 12.72 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.2967, allocations: 3.984 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2967, allocations: 3.938 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2967, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.2972, allocations: 330.1 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2972, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.2973, allocations: 15.98 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2973, allocations: 0 / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2973, allocations: 11.94 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2973, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2973, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.2978, allocations: 243.8 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.2978, allocations: 7.984 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2979, allocations: 3.938 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.298, allocations: 19.97 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.2981, allocations: 23.92 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2981, allocations: 4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.814e-05/0.2981, allocations: 99.27 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2981, allocations: 4 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.2984, allocations: 23.92 kB / 0.5677 GB, free: 13.88 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 9.76e-05/0.2985, allocations: 91.25 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.2988, allocations: 87.95 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2988, allocations: 0 / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.299, allocations: 39.97 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.2993, allocations: 26.92 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.3002, allocations: 300.2 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.3003, allocations: 85.31 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.3004, allocations: 11.44 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3004, allocations: 4 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Templates: time 0.003242/0.3036, allocations: 1.33 MB / 0.5696 GB, free: 11.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 7.594324504956603]