Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 101.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3371/0.3371, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3072, allocations: 62.02 MB / 0.5151 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002389/0.3096, allocations: 1.693 MB / 0.5168 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008241/0.3105, allocations: 0.5771 MB / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.3106, allocations: 6.906 kB / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3107, allocations: 7.406 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.3108, allocations: 7.875 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.3111, allocations: 85.97 kB / 0.5175 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3112, allocations: 107.4 kB / 0.5176 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.3113, allocations: 30.14 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.3113, allocations: 47.55 kB / 0.5176 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.3114, allocations: 38.27 kB / 0.5177 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3114, allocations: 5.312 kB / 0.5177 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3114, allocations: 5.438 kB / 0.5177 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.3115, allocations: 14.22 kB / 0.5177 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.3115, allocations: 43.61 kB / 0.5177 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/0.3116, allocations: 81.25 kB / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3116, allocations: 0 / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3116, allocations: 0 / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.3116, allocations: 0 / 0.5178 GB, free: 35.94 MB / 378.7 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.0005095/0.3122, allocations: 422.6 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3122, allocations: 8.406 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3122, allocations: 10.53 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3124, allocations: 197.6 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3124, allocations: 7.125 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.3124, allocations: 10.06 kB / 0.5184 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.3127, allocations: 114.8 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3127, allocations: 0 / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3127, allocations: 2.906 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3127, allocations: 0 / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3129, allocations: 49.88 kB / 0.5186 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.3134, allocations: 381.8 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3137, allocations: 105.7 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.3138, allocations: 39.58 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3138, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.3141, allocations: 108.7 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.3141, allocations: 0 / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003907/0.3145, allocations: 146.5 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3146, allocations: 58.28 kB / 0.5194 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.3146, allocations: 151.6 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3147, allocations: 25.7 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.3147, allocations: 105.3 kB / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.3147, allocations: 22.47 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3148, allocations: 24.78 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.3148, allocations: 324.4 kB / 0.52 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3149, allocations: 39.48 kB / 0.5201 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.315, allocations: 47 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3152, allocations: 79.09 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3152, allocations: 2.844 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002427/0.3155, allocations: 126.4 kB / 0.5203 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3155, allocations: 9.906 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3155, allocations: 0 / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3155, allocations: 0 / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.3156, allocations: 14.56 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3156, allocations: 2.531 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.3157, allocations: 19.88 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3157, allocations: 2.812 kB / 0.5204 GB, free: 33.93 MB / 378.7 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,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$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.484e-05/0.3158, allocations: 123.1 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.3158, allocations: 10.62 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.3159, allocations: 11.66 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3159, allocations: 0 / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3159, allocations: 2.875 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3159, allocations: 7.312 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.3163, allocations: 393.6 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3163, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.3164, allocations: 12.8 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3164, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3164, allocations: 2.781 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3164, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3164, allocations: 3.938 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3179, allocations: 1.349 MB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.3179, allocations: 83.83 kB / 0.5223 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3179, allocations: 7.938 kB / 0.5223 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3181, allocations: 22.5 kB / 0.5223 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.3181, allocations: 20.53 kB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3182, allocations: 2.875 kB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.3182, allocations: 119 kB / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3182, allocations: 0 / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.3185, allocations: 24.09 kB / 0.5225 GB, free: 32.11 MB / 378.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,booleanPulse.pulseStart,change.u) * 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.772e-05/0.3186, allocations: 98.12 kB / 0.5226 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.3188, allocations: 86.94 kB / 0.5227 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3188, allocations: 0 / 0.5227 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.319, allocations: 45.56 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3193, allocations: 20 kB / 0.5227 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.3197, allocations: 357.3 kB / 0.5231 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.871e-05/0.3198, allocations: 0.6964 MB / 0.5237 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.3199, allocations: 9.422 kB / 0.5238 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3199, allocations: 13.03 kB / 0.5238 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3199, allocations: 0 / 0.5238 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.002721/0.3226, allocations: 1.192 MB / 0.5249 GB, free: 30.85 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches