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.001375/0.001375, allocations: 110 kB / 19.69 MB, free: 2.203 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.001617/0.001617, allocations: 222.5 kB / 23.01 MB, free: 5.043 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.376/1.376, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.2099/0.2099, allocations: 44.23 MB / 330.3 MB, free: 9.516 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: "" <> buildModelFMU(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) [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.00214/0.00214, allocations: 68.52 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1266, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002209/0.1288, allocations: 0.8463 MB / 0.517 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.1291, allocations: 47.81 kB / 0.517 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.1291, allocations: 0 / 0.517 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.1293, allocations: 3.938 kB / 0.517 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.1293, allocations: 11.92 kB / 0.517 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1294, allocations: 15.98 kB / 0.517 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1295, allocations: 39.84 kB / 0.5171 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1296, allocations: 16 kB / 0.5171 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.1297, allocations: 11.92 kB / 0.5171 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.1297, allocations: 15.94 kB / 0.5171 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1297, allocations: 4 kB / 0.5171 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.1298, allocations: 4 kB / 0.5171 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1298, allocations: 7.922 kB / 0.5171 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1298, allocations: 19.92 kB / 0.5172 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1299, allocations: 39.83 kB / 0.5172 GB, free: 6.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1299, allocations: 3.938 kB / 0.5172 GB, free: 6.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1299, allocations: 0 / 0.5172 GB, free: 6.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1299, allocations: 0 / 0.5172 GB, free: 6.262 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.0004285/0.1304, allocations: 287 kB / 0.5175 GB, free: 5.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1304, allocations: 8.031 kB / 0.5175 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.1304, allocations: 34.75 kB / 0.5175 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.1305, allocations: 4.891 kB / 0.5175 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1307, allocations: 126.5 kB / 0.5176 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1307, allocations: 4.375 kB / 0.5176 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1307, allocations: 4.375 kB / 0.5176 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1308, allocations: 50.25 kB / 0.5177 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1308, allocations: 7.875 kB / 0.5177 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1308, allocations: 4 kB / 0.5177 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1308, allocations: 7.938 kB / 0.5177 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.1309, allocations: 15.98 kB / 0.5177 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.1314, allocations: 255.8 kB / 0.518 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.1315, allocations: 26.5 kB / 0.518 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.1315, allocations: 12.92 kB / 0.518 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.1315, allocations: 4 kB / 0.518 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.573e-05/0.1316, allocations: 51.41 kB / 0.5181 GB, free: 5.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1316, allocations: 0 / 0.5181 GB, free: 5.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.1317, allocations: 53.56 kB / 0.5181 GB, free: 5.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1318, allocations: 51.41 kB / 0.5182 GB, free: 5.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1319, allocations: 117.8 kB / 0.5183 GB, free: 4.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1319, allocations: 25.7 kB / 0.5183 GB, free: 4.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1319, allocations: 96.03 kB / 0.5184 GB, free: 4.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.132, allocations: 20 kB / 0.5184 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.132, allocations: 13.72 kB / 0.5184 GB, free: 4.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1321, allocations: 318.8 kB / 0.5187 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.1321, allocations: 7.984 kB / 0.5187 GB, free: 4.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.1322, allocations: 17.72 kB / 0.5187 GB, free: 4.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.1322, allocations: 29.66 kB / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1322, allocations: 0 / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.225e-05/0.1323, allocations: 57.64 kB / 0.5188 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1323, allocations: 8 kB / 0.5188 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1323, allocations: 3.984 kB / 0.5188 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1323, allocations: 0 / 0.5188 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.03e-05/0.1324, allocations: 7.938 kB / 0.5188 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1324, allocations: 0 / 0.5188 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.1324, allocations: 3.938 kB / 0.5189 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1324, allocations: 7.984 kB / 0.5189 GB, free: 4.34 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 7.995e-05/0.1325, allocations: 113.9 kB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.1325, allocations: 4.328 kB / 0.519 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.1325, allocations: 4 kB / 0.519 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1325, allocations: 7.984 kB / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1325, allocations: 384 / 0.519 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1325, allocations: 3.938 kB / 0.519 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.1328, allocations: 269.6 kB / 0.5192 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1328, allocations: 4 kB / 0.5192 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.1329, allocations: 15.94 kB / 0.5193 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1329, allocations: 0 / 0.5193 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1329, allocations: 3.938 kB / 0.5193 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1329, allocations: 0 / 0.5193 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1329, allocations: 4 kB / 0.5193 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.133, allocations: 143.5 kB / 0.5194 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.133, allocations: 7.938 kB / 0.5194 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.133, allocations: 7.875 kB / 0.5194 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.1331, allocations: 8.094 kB / 0.5194 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1331, allocations: 3.938 kB / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1331, allocations: 0 / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.1332, allocations: 95.27 kB / 0.5195 GB, free: 3.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1332, allocations: 0 / 0.5195 GB, free: 3.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1334, allocations: 8 kB / 0.5195 GB, free: 3.566 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 0.0004173/0.1338, allocations: 0.6773 MB / 0.5202 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.775e-05/0.1339, allocations: 23.88 kB / 0.5202 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1339, allocations: 0 / 0.5202 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/0.1339, allocations: 7.984 kB / 0.5202 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.1342, allocations: 8 kB / 0.5202 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1354, allocations: 1.298 MB / 0.5215 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1357, allocations: 0.6895 MB / 0.5222 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1357, allocations: 4 kB / 0.5222 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.1358, allocations: 19.42 kB / 0.5222 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1358, allocations: 0 / 0.5222 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1641, allocations: 1.696 MB / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/10.98, allocations: 8.062 kB / 0.5239 GB, free: 15 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000998004 ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.csv","/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: 13.885485963000974]