Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 112.9 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.212/0.212, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3426, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001966/0.3446, allocations: 0.8203 MB / 0.5204 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.3448, allocations: 45.14 kB / 0.5204 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.3449, allocations: 1.188 kB / 0.5204 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.345, allocations: 6.656 kB / 0.5204 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.488e-05/0.345, allocations: 3.938 kB / 0.5204 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.3452, allocations: 20.56 kB / 0.5204 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3453, allocations: 41.84 kB / 0.5205 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3454, allocations: 23.14 kB / 0.5205 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.3455, allocations: 12.59 kB / 0.5205 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.3455, allocations: 17.25 kB / 0.5205 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3455, allocations: 3.594 kB / 0.5205 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.3456, allocations: 3.594 kB / 0.5205 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.3456, allocations: 6.562 kB / 0.5205 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.3456, allocations: 16.89 kB / 0.5206 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3457, allocations: 46.02 kB / 0.5206 GB, free: 2.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3458, allocations: 1.125 kB / 0.5206 GB, free: 2.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3458, allocations: 0.7969 kB / 0.5206 GB, free: 2.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3458, allocations: 0 / 0.5206 GB, free: 2.953 MB / 382.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.0003674/0.3461, allocations: 354.7 kB / 0.5209 GB, free: 2.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3462, allocations: 8.094 kB / 0.5209 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.3462, allocations: 9.203 kB / 0.521 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3464, allocations: 184.1 kB / 0.5211 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3464, allocations: 1.812 kB / 0.5211 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3465, allocations: 8.047 kB / 0.5211 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3466, allocations: 48.61 kB / 0.5212 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3466, allocations: 5.875 kB / 0.5212 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3466, allocations: 7.938 kB / 0.5212 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3466, allocations: 1.922 kB / 0.5212 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.3467, allocations: 13.27 kB / 0.5212 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3471, allocations: 292.4 kB / 0.5215 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.3472, allocations: 26.12 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.3472, allocations: 15.08 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.3472, allocations: 1.672 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/0.3473, allocations: 49.94 kB / 0.5216 GB, free: 1.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.3473, allocations: 0 / 0.5216 GB, free: 1.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001372/0.3474, allocations: 54.06 kB / 0.5216 GB, free: 1.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.3474, allocations: 52.94 kB / 0.5217 GB, free: 1.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.3475, allocations: 116.8 kB / 0.5218 GB, free: 1.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.3475, allocations: 25.7 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.3476, allocations: 92.33 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.3476, allocations: 5.984 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.3476, allocations: 19.5 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.3477, allocations: 322 kB / 0.5222 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.3477, allocations: 3.641 kB / 0.5222 GB, free: 1.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.3477, allocations: 21.03 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.3478, allocations: 33.97 kB / 0.5223 GB, free: 1.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3478, allocations: 5.062 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.93e-05/0.3479, allocations: 51.08 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3479, allocations: 9.469 kB / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3479, allocations: 0 / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3479, allocations: 1.312 kB / 0.5224 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.3479, allocations: 12.75 kB / 0.5224 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.348, allocations: 0 / 0.5224 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.348, allocations: 7.094 kB / 0.5224 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.348, allocations: 5.688 kB / 0.5224 GB, free: 1.137 MB / 382.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 5.75e-05/0.3481, allocations: 113.7 kB / 0.5225 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3481, allocations: 6.172 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.3481, allocations: 14.11 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3481, allocations: 2.078 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3481, allocations: 0 / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.3482, allocations: 78.69 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3482, allocations: 5.719 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.3482, allocations: 1.797 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.3482, allocations: 7.016 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001229/0.3484, allocations: 134.3 kB / 0.5227 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001217/0.3485, allocations: 222.5 kB / 0.5229 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.75e-05/0.3485, allocations: 13.12 kB / 0.523 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.3486, allocations: 91.08 kB / 0.523 GB, free: 488 kB / 382.1 MB Notification: Performance of Backend: time 2.7e-07/0.3486, allocations: 0 / 0.523 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.3489, allocations: 92.5 kB / 0.5231 GB, free: 412 kB / 382.1 MB Notification: Performance of SimCode: time 0.0004396/0.3493, allocations: 0.5947 MB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of Templates: time 0.002727/0.3521, allocations: 0.5691 MB / 0.5243 GB, free: 15.71 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches