Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.00141/0.00141, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001427/0.001427, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 47.94 kB / 373 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 53.33 MB / 426.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002966/0.1073, allocations: 1.446 MB / 427.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001995/0.1075, allocations: 31.92 kB / 427.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1075, allocations: 3.938 kB / 427.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.1076, allocations: 3.938 kB / 427.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.1076, allocations: 7.922 kB / 427.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1079, allocations: 19.61 kB / 427.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.108, allocations: 27.92 kB / 427.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1081, allocations: 11.98 kB / 427.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.1081, allocations: 15.92 kB / 427.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.1081, allocations: 11.94 kB / 427.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1082, allocations: 4 kB / 427.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.1082, allocations: 4 kB / 427.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.1082, allocations: 11.98 kB / 427.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1082, allocations: 7.938 kB / 427.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.857e-05/0.1083, allocations: 35.77 kB / 427.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1083, allocations: 0 / 427.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1083, allocations: 0 / 427.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1083, allocations: 0 / 427.9 MB, free: 3.262 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004982/0.1088, allocations: 347.4 kB / 428.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1089, allocations: 8.031 kB / 428.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.1089, allocations: 38.73 kB / 428.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1089, allocations: 8.891 kB / 428.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1092, allocations: 180.3 kB / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1092, allocations: 4.359 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1093, allocations: 4.375 kB / 428.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.1096, allocations: 111.9 kB / 428.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1096, allocations: 3.938 kB / 428.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1096, allocations: 7.984 kB / 428.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1097, allocations: 4 kB / 428.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1098, allocations: 23.92 kB / 428.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.1099, allocations: 157.7 kB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1101, allocations: 54.55 kB / 428.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.1102, allocations: 24.92 kB / 428.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1102, allocations: 0 / 428.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1102, allocations: 34.56 kB / 428.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1102, allocations: 3.938 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002993/0.1105, allocations: 89.48 kB / 429 MB, free: 1.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.1106, allocations: 59.41 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.1107, allocations: 109.8 kB / 429.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1107, allocations: 25.7 kB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.1108, allocations: 92.06 kB / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.1108, allocations: 0 / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1108, allocations: 25.7 kB / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.111, allocations: 314.8 kB / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.111, allocations: 4 kB / 429.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.111, allocations: 31.42 kB / 429.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.1111, allocations: 39.38 kB / 429.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1111, allocations: 0 / 429.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001058/0.1112, allocations: 65.52 kB / 429.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1112, allocations: 11.94 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1112, allocations: 0 / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1112, allocations: 4 kB / 429.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.1113, allocations: 4.125 kB / 429.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1113, allocations: 8 kB / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.1113, allocations: 0 / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1113, allocations: 4 kB / 429.8 MB, free: 1.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.319e-05/0.1114, allocations: 113.8 kB / 429.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.1116, allocations: 77.5 kB / 430 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.1116, allocations: 3.906 kB / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1116, allocations: 0 / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1116, allocations: 4.234 kB / 430 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1116, allocations: 4 kB / 430 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1118, allocations: 157.7 kB / 430.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1118, allocations: 3.984 kB / 430.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.1118, allocations: 8 kB / 430.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1118, allocations: 7.875 kB / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1118, allocations: 0 / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1118, allocations: 0 / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1118, allocations: 0 / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.112, allocations: 93.03 kB / 430.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.1121, allocations: 89.44 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1121, allocations: 7.938 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.1122, allocations: 11.98 kB / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-06/0.1122, allocations: 0 / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1122, allocations: 0 / 430.4 MB, free: 460 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.1122, allocations: 83.28 kB / 430.5 MB, free: 376 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1122, allocations: 0 / 430.5 MB, free: 376 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.1124, allocations: 4 kB / 430.5 MB, free: 372 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006912/0.1131, allocations: 0.6553 MB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1133, allocations: 27.92 kB / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1133, allocations: 0 / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.1133, allocations: 0 / 431.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1136, allocations: 27.95 kB / 431.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1149, allocations: 1.178 MB / 432.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1152, allocations: 0.6806 MB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.1153, allocations: 4 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.1153, allocations: 15.44 kB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1153, allocations: 0 / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.1389, allocations: 1.378 MB / 434.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.239, allocations: 7.875 kB / 434.4 MB, free: 12.38 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock1.period,previous(step.counter),assignClock1.u,assignClock1.y,step.counter [Calling sys.exit(0), Time elapsed: 11.013263539993204]