Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001678/0.001678, 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.001997/0.001997, 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.532/1.532, 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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 53.32 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002814/0.1151, allocations: 1.431 MB / 427.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000194/0.1153, allocations: 35.91 kB / 427.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.1154, allocations: 0 / 427.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1154, allocations: 7.875 kB / 427.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.1154, allocations: 3.938 kB / 427.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1157, allocations: 23.97 kB / 427.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.1158, allocations: 23.98 kB / 427.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1159, allocations: 8 kB / 427.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.1159, allocations: 23.84 kB / 427.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.116, allocations: 3.938 kB / 427.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.116, allocations: 8 kB / 427.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.116, allocations: 4 kB / 427.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.116, allocations: 7.984 kB / 427.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.116, allocations: 11.94 kB / 427.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1162, allocations: 31.83 kB / 427.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1162, allocations: 0 / 427.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1162, allocations: 4 kB / 427.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1162, allocations: 0 / 427.9 MB, free: 3.172 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.0004772/0.1167, allocations: 335.5 kB / 428.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1167, allocations: 8.031 kB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1167, allocations: 46.69 kB / 428.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.1168, allocations: 0.9375 kB / 428.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.117, allocations: 184.2 kB / 428.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.117, allocations: 8.375 kB / 428.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.117, allocations: 384 / 428.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.1174, allocations: 119.8 kB / 428.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1174, allocations: 7.938 kB / 428.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1174, allocations: 3.938 kB / 428.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1174, allocations: 4 kB / 428.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1175, allocations: 19.98 kB / 428.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1177, allocations: 157.7 kB / 428.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1178, allocations: 46.55 kB / 428.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.1179, allocations: 28.86 kB / 428.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1179, allocations: 4 kB / 428.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.118, allocations: 34.56 kB / 428.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.118, allocations: 0 / 428.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002789/0.1182, allocations: 77.55 kB / 429 MB, free: 1.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.1183, allocations: 55.41 kB / 429 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1184, allocations: 105.8 kB / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1184, allocations: 25.7 kB / 429.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1185, allocations: 84.14 kB / 429.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.1185, allocations: 4 kB / 429.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1185, allocations: 17.72 kB / 429.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1187, allocations: 318.8 kB / 429.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.1187, allocations: 7.938 kB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.1187, allocations: 27.44 kB / 429.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.1188, allocations: 43.38 kB / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1188, allocations: 0 / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.115e-05/0.1189, allocations: 57.58 kB / 429.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1189, allocations: 11.94 kB / 429.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1189, allocations: 3.938 kB / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1189, allocations: 128 / 429.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.119, allocations: 11.98 kB / 429.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.119, allocations: 4 kB / 429.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.119, allocations: 0 / 429.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.119, allocations: 4 kB / 429.8 MB, free: 1.078 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.256e-05/0.1191, allocations: 113.8 kB / 429.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1192, allocations: 65.61 kB / 429.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.1193, allocations: 7.5 kB / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1193, allocations: 0 / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1193, allocations: 4 kB / 429.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1193, allocations: 384 / 429.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1194, allocations: 157.7 kB / 430.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1194, allocations: 4 kB / 430.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1194, allocations: 4 kB / 430.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1194, allocations: 7.875 kB / 430.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1194, allocations: 0 / 430.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1195, allocations: 0 / 430.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1195, allocations: 3.938 kB / 430.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1196, allocations: 93.06 kB / 430.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1197, allocations: 81.09 kB / 430.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1197, allocations: 7.938 kB / 430.3 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.568e-05/0.1197, allocations: 4 kB / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-06/0.1197, allocations: 288 / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.1197, allocations: 0 / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.1198, allocations: 83.27 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1198, allocations: 4 kB / 430.4 MB, free: 348 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.12, allocations: 4 kB / 430.4 MB, free: 344 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.0006003/0.1206, allocations: 0.6514 MB / 431 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1207, allocations: 31.92 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1207, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1207, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.121, allocations: 30.8 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1221, allocations: 1.166 MB / 432.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1224, allocations: 0.6846 MB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.877e-05/0.1224, allocations: 4 kB / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1224, allocations: 7.438 kB / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1224, allocations: 0 / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1463, allocations: 1.318 MB / 434.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.099, allocations: 8.062 kB / 434.3 MB, free: 12.42 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv. Warning: Get data of variable assignClock1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.991756584000541]