Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 230.5 MB / 254 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.113, allocations: 53.38 MB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002989/0.1159, allocations: 1.424 MB / 427.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.1162, allocations: 39.84 kB / 427.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1162, allocations: 4 kB / 427.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1163, allocations: 3.938 kB / 427.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.1163, allocations: 3.938 kB / 427.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1166, allocations: 23.97 kB / 427.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1167, allocations: 23.92 kB / 427.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1168, allocations: 8 kB / 427.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.1169, allocations: 19.91 kB / 427.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.1169, allocations: 7.938 kB / 427.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1169, allocations: 4 kB / 427.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.117, allocations: 0 / 427.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.117, allocations: 15.98 kB / 427.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.117, allocations: 7.938 kB / 427.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1171, allocations: 35.83 kB / 428 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1171, allocations: 0 / 428 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1171, allocations: 0 / 428 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1171, allocations: 0 / 428 MB, free: 2.977 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.0004642/0.1176, allocations: 335.5 kB / 428.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1176, allocations: 12.03 kB / 428.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.1177, allocations: 42.62 kB / 428.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.1177, allocations: 8.938 kB / 428.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1179, allocations: 180.2 kB / 428.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.118, allocations: 4.375 kB / 428.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.118, allocations: 4.375 kB / 428.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1183, allocations: 115.8 kB / 428.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1183, allocations: 7.938 kB / 428.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1184, allocations: 0 / 428.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1184, allocations: 7.984 kB / 428.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1185, allocations: 23.92 kB / 428.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.1186, allocations: 157.7 kB / 428.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1188, allocations: 46.56 kB / 428.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.1189, allocations: 24.92 kB / 428.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1189, allocations: 0 / 428.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1189, allocations: 34.56 kB / 429 MB, free: 1.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1189, allocations: 0 / 429 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002771/0.1192, allocations: 85.48 kB / 429 MB, free: 1.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1192, allocations: 55.41 kB / 429.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.1193, allocations: 101.8 kB / 429.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1194, allocations: 25.7 kB / 429.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.1194, allocations: 88.08 kB / 429.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1194, allocations: 4 kB / 429.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1195, allocations: 21.72 kB / 429.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1196, allocations: 314.8 kB / 429.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.1196, allocations: 8 kB / 429.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.1196, allocations: 23.44 kB / 429.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.1197, allocations: 39.38 kB / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1197, allocations: 0 / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.1198, allocations: 69.52 kB / 429.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1198, allocations: 7.938 kB / 429.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1198, allocations: 7.938 kB / 429.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1198, allocations: 0 / 429.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.1199, allocations: 7.984 kB / 429.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1199, allocations: 4.125 kB / 429.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.1199, allocations: 4 kB / 429.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1199, allocations: 0 / 429.8 MB, free: 0.8789 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.333e-05/0.12, allocations: 113.8 kB / 429.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1202, allocations: 69.55 kB / 430 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.1202, allocations: 3.5 kB / 430 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1202, allocations: 0 / 430 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1202, allocations: 0 / 430 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1202, allocations: 4 kB / 430 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1203, allocations: 157.7 kB / 430.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1203, allocations: 4 kB / 430.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.1204, allocations: 384 / 430.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1204, allocations: 7.938 kB / 430.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1204, allocations: 0 / 430.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1204, allocations: 4 kB / 430.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1204, allocations: 0 / 430.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1205, allocations: 89.28 kB / 430.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.1206, allocations: 89.09 kB / 430.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1206, allocations: 11.88 kB / 430.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.1206, allocations: 4 kB / 430.3 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-06/0.1206, allocations: 0 / 430.3 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1207, allocations: 0 / 430.3 MB, free: 228 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.1207, allocations: 83.27 kB / 430.4 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1207, allocations: 0 / 430.4 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.1209, allocations: 8 kB / 430.4 MB, free: 136 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.0006023/0.1215, allocations: 0.6436 MB / 431.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1216, allocations: 31.92 kB / 431.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1216, allocations: 0 / 431.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1216, allocations: 0 / 431.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1219, allocations: 30.03 kB / 431.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1231, allocations: 1.166 MB / 432.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1234, allocations: 0.6846 MB / 433 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.1234, allocations: 0 / 433 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1235, allocations: 11.44 kB / 433 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1235, allocations: 4 kB / 433 MB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.1474, allocations: 1.314 MB / 434.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.513, allocations: 2.812 kB / 434.3 MB, free: 12.22 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.118704242049716]