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.001662/0.001662, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001992/0.001992, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.469/1.469, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.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.2172/0.2172, allocations: 34.26 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] 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.002168/0.002168, allocations: 63.89 kB / 443.1 MB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 66 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002061/0.3479, allocations: 0.8213 MB / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.3481, allocations: 47.16 kB / 0.4981 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3482, allocations: 4 kB / 0.4981 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.3483, allocations: 3.938 kB / 0.4981 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.722e-05/0.3483, allocations: 3.938 kB / 0.4981 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.3484, allocations: 28.97 kB / 0.4981 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.772e-05/0.3485, allocations: 31.47 kB / 0.4981 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.3486, allocations: 17.62 kB / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.3486, allocations: 11 kB / 0.4982 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.3487, allocations: 14.55 kB / 0.4982 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3487, allocations: 3.281 kB / 0.4982 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.3487, allocations: 2.812 kB / 0.4982 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.3487, allocations: 14.36 kB / 0.4982 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.3487, allocations: 11.16 kB / 0.4982 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3489, allocations: 39.33 kB / 0.4982 GB, free: 29.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3489, allocations: 0 / 0.4982 GB, free: 29.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3489, allocations: 0 / 0.4982 GB, free: 29.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3489, allocations: 0 / 0.4982 GB, free: 29.24 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003734/0.3492, allocations: 285.7 kB / 0.4985 GB, free: 28.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3493, allocations: 9.562 kB / 0.4985 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3493, allocations: 8.203 kB / 0.4985 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3495, allocations: 128 kB / 0.4986 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3495, allocations: 3.562 kB / 0.4986 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3495, allocations: 7.344 kB / 0.4987 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3496, allocations: 55.23 kB / 0.4987 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3496, allocations: 3.219 kB / 0.4987 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3496, allocations: 3.938 kB / 0.4987 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3497, allocations: 0 / 0.4987 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.3497, allocations: 20.42 kB / 0.4987 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3501, allocations: 220.5 kB / 0.4989 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.3501, allocations: 24.67 kB / 0.499 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.3501, allocations: 12.08 kB / 0.499 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3501, allocations: 7.5 kB / 0.499 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.3502, allocations: 49.73 kB / 0.499 GB, free: 28.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3502, allocations: 0 / 0.499 GB, free: 28.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001222/0.3503, allocations: 50.2 kB / 0.4991 GB, free: 28.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.3504, allocations: 51.41 kB / 0.4991 GB, free: 28.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.3504, allocations: 111.2 kB / 0.4992 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.3504, allocations: 29.64 kB / 0.4993 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.3504, allocations: 95.28 kB / 0.4994 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.3505, allocations: 10.75 kB / 0.4994 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.3505, allocations: 20.91 kB / 0.4994 GB, free: 28.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3505, allocations: 314.8 kB / 0.4997 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.3505, allocations: 10.31 kB / 0.4997 GB, free: 27.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.3506, allocations: 19.8 kB / 0.4997 GB, free: 27.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.3506, allocations: 27 kB / 0.4997 GB, free: 27.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3506, allocations: 0 / 0.4997 GB, free: 27.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.152e-05/0.3507, allocations: 52.23 kB / 0.4998 GB, free: 27.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3507, allocations: 13.5 kB / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3507, allocations: 0 / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3507, allocations: 4.031 kB / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.004e-05/0.3507, allocations: 3.281 kB / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3507, allocations: 0 / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.3508, allocations: 2.656 kB / 0.4998 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.3508, allocations: 0 / 0.4998 GB, free: 27.67 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: 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.139e-05/0.3508, allocations: 121.4 kB / 0.4999 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.3508, allocations: 10.34 kB / 0.4999 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.3508, allocations: 4 kB / 0.4999 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3508, allocations: 3.25 kB / 0.4999 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3508, allocations: 0 / 0.4999 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3508, allocations: 0 / 0.4999 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.351, allocations: 250.8 kB / 0.5002 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.351, allocations: 0 / 0.5002 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.351, allocations: 3.938 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3511, allocations: 10.45 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3511, allocations: 0 / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3511, allocations: 3.938 kB / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3511, allocations: 0 / 0.5002 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.3512, allocations: 150.9 kB / 0.5003 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.3512, allocations: 7.25 kB / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3512, allocations: 3.469 kB / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.3512, allocations: 7.344 kB / 0.5004 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.3513, allocations: 0 / 0.5004 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.3513, allocations: 3.938 kB / 0.5004 GB, free: 27.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.3513, allocations: 89.05 kB / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3513, allocations: 0 / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3515, allocations: 10.28 kB / 0.5005 GB, free: 27.03 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: 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 6.172e-05/0.3516, allocations: 88.75 kB / 0.5005 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.92e-05/0.3516, allocations: 24.14 kB / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3516, allocations: 0 / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.3517, allocations: 6.5 kB / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3519, allocations: 14.72 kB / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.3522, allocations: 139.2 kB / 0.5007 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.3522, allocations: 71.16 kB / 0.5008 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.68e-05/0.3522, allocations: 7.5 kB / 0.5008 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.3523, allocations: 11.69 kB / 0.5008 GB, free: 26.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3523, allocations: 3.938 kB / 0.5008 GB, free: 26.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002698/0.355, allocations: 487.5 kB / 0.5013 GB, free: 26.62 MB / 446.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 ida -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.972390306997113]