Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001499/0.001499, allocations: 105 kB / 20.44 MB, free: 1.504 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.001687/0.001687, allocations: 217.5 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.24 MB / 331 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002103/0.002103, allocations: 67.91 kB / 468.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1028, allocations: 61.04 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.00201/0.1048, allocations: 0.8352 MB / 0.5182 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.105, allocations: 47.88 kB / 0.5182 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.1051, allocations: 3.938 kB / 0.5182 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1052, allocations: 7.938 kB / 0.5182 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.188e-05/0.1052, allocations: 3.938 kB / 0.5182 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.1053, allocations: 23.91 kB / 0.5183 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1054, allocations: 39.86 kB / 0.5183 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.1055, allocations: 15.97 kB / 0.5183 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.1056, allocations: 11.94 kB / 0.5183 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.1056, allocations: 15.92 kB / 0.5183 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1056, allocations: 0 / 0.5183 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.1056, allocations: 4 kB / 0.5183 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.1056, allocations: 15.94 kB / 0.5184 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1057, allocations: 15.94 kB / 0.5184 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1058, allocations: 39.81 kB / 0.5184 GB, free: 5.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1058, allocations: 0 / 0.5184 GB, free: 5.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1058, allocations: 0 / 0.5184 GB, free: 5.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1058, allocations: 0 / 0.5184 GB, free: 5.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004181/0.1062, allocations: 287 kB / 0.5187 GB, free: 5.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1062, allocations: 12.03 kB / 0.5187 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1063, allocations: 4.891 kB / 0.5187 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1064, allocations: 118.5 kB / 0.5188 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1065, allocations: 8.375 kB / 0.5188 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1065, allocations: 384 / 0.5188 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1066, allocations: 50.25 kB / 0.5189 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1066, allocations: 192 / 0.5189 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1066, allocations: 3.938 kB / 0.5189 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1066, allocations: 4 kB / 0.5189 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.1067, allocations: 23.91 kB / 0.5189 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.1071, allocations: 259.8 kB / 0.5192 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/0.1072, allocations: 26.56 kB / 0.5192 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.1072, allocations: 12.92 kB / 0.5192 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.1072, allocations: 3.938 kB / 0.5192 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.788e-05/0.1073, allocations: 47.41 kB / 0.5192 GB, free: 4.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1073, allocations: 8 kB / 0.5192 GB, free: 4.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001262/0.1074, allocations: 45.69 kB / 0.5193 GB, free: 4.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1074, allocations: 51.41 kB / 0.5193 GB, free: 4.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1076, allocations: 125.7 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1076, allocations: 29.7 kB / 0.5195 GB, free: 4.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1076, allocations: 92.03 kB / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1076, allocations: 15.94 kB / 0.5196 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1077, allocations: 17.72 kB / 0.5196 GB, free: 4.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1078, allocations: 318.8 kB / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.1078, allocations: 11.98 kB / 0.5199 GB, free: 4.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.1078, allocations: 13.72 kB / 0.5199 GB, free: 4.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.1079, allocations: 25.72 kB / 0.52 GB, free: 3.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1079, allocations: 0 / 0.52 GB, free: 3.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.086e-05/0.108, allocations: 57.86 kB / 0.52 GB, free: 3.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.108, allocations: 4 kB / 0.52 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.108, allocations: 4.031 kB / 0.52 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.108, allocations: 4.047 kB / 0.52 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.03e-05/0.108, allocations: 7.984 kB / 0.52 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.108, allocations: 0 / 0.52 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.1081, allocations: 3.984 kB / 0.52 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1081, allocations: 7.938 kB / 0.52 GB, free: 3.895 MB / 398.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 8.099e-05/0.1082, allocations: 113.8 kB / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.1082, allocations: 4 kB / 0.5202 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.1082, allocations: 8 kB / 0.5202 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1082, allocations: 4 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1082, allocations: 0 / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1082, allocations: 4 kB / 0.5202 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1085, allocations: 269.6 kB / 0.5204 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1085, allocations: 0 / 0.5204 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.1085, allocations: 4 kB / 0.5204 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1085, allocations: 3.938 kB / 0.5204 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1085, allocations: 0 / 0.5204 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1085, allocations: 3.938 kB / 0.5204 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1085, allocations: 4 kB / 0.5204 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.1087, allocations: 151.6 kB / 0.5206 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.1087, allocations: 3.953 kB / 0.5206 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1087, allocations: 0 / 0.5206 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.1087, allocations: 7.938 kB / 0.5206 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.1088, allocations: 0 / 0.5206 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1088, allocations: 12.31 kB / 0.5206 GB, free: 3.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.1088, allocations: 95.2 kB / 0.5207 GB, free: 3.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1088, allocations: 4.062 kB / 0.5207 GB, free: 3.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.109, allocations: 8 kB / 0.5207 GB, free: 3.125 MB / 398.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 7.784e-05/0.1091, allocations: 99.17 kB / 0.5208 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.757e-05/0.1092, allocations: 12 kB / 0.5208 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1092, allocations: 0 / 0.5208 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.1092, allocations: 12 kB / 0.5208 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1094, allocations: 7.984 kB / 0.5208 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.1098, allocations: 183.8 kB / 0.521 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1101, allocations: 0.6856 MB / 0.5217 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.1101, allocations: 11.44 kB / 0.5217 GB, free: 2.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1101, allocations: 0 / 0.5217 GB, free: 2.055 MB / 398.1 MB Notification: Performance of Templates: time 0.00216/0.1123, allocations: 0.7464 MB / 0.5224 GB, free: 1.309 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.412402899935842]