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.001345/0.001345, allocations: 112.4 kB / 18.5 MB, free: 4.582 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.001501/0.001501, allocations: 204.9 kB / 21.46 MB, free: 1.629 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001803/0.001803, allocations: 75.86 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1138, allocations: 53.32 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002684/0.1165, allocations: 1.426 MB / 428.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.1167, allocations: 35.91 kB / 428.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.1167, allocations: 0 / 428.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.1168, allocations: 7.875 kB / 428.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.1168, allocations: 7.922 kB / 428.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1171, allocations: 19.98 kB / 428.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.1171, allocations: 27.92 kB / 428.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.1172, allocations: 11.98 kB / 428.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.1173, allocations: 11.94 kB / 428.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.1173, allocations: 11.92 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1173, allocations: 4 kB / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.1173, allocations: 4 kB / 428.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1173, allocations: 4 kB / 428.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.1174, allocations: 23.84 kB / 428.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.719e-05/0.1175, allocations: 27.84 kB / 428.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1175, allocations: 0 / 428.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1175, allocations: 4 kB / 428.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1175, allocations: 0 / 428.3 MB, free: 3.391 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.0004547/0.1179, allocations: 335.5 kB / 428.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.118, allocations: 12.03 kB / 428.6 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.118, allocations: 42.69 kB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.118, allocations: 0.9375 kB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1183, allocations: 184.2 kB / 428.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1183, allocations: 8.375 kB / 428.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1183, allocations: 384 / 428.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.1186, allocations: 119.8 kB / 429 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1187, allocations: 3.938 kB / 429 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1187, allocations: 0 / 429 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1187, allocations: 7.984 kB / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1188, allocations: 19.98 kB / 429 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.119, allocations: 153.7 kB / 429.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1191, allocations: 50.48 kB / 429.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.1192, allocations: 24.92 kB / 429.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.1192, allocations: 4 kB / 429.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1192, allocations: 34.56 kB / 429.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1192, allocations: 0 / 429.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.1195, allocations: 73.56 kB / 429.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.1195, allocations: 63.33 kB / 429.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.1196, allocations: 101.9 kB / 429.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1196, allocations: 25.7 kB / 429.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1197, allocations: 92.12 kB / 429.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.1197, allocations: 0 / 429.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1197, allocations: 17.72 kB / 429.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1199, allocations: 314.8 kB / 429.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.1199, allocations: 7.984 kB / 429.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.1199, allocations: 27.44 kB / 430 MB, free: 1.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.12, allocations: 39.38 kB / 430 MB, free: 1.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.12, allocations: 0 / 430 MB, free: 1.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.671e-05/0.1201, allocations: 61.58 kB / 430.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1201, allocations: 13.97 kB / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1201, allocations: 3.938 kB / 430.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1201, allocations: 4.125 kB / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.1201, allocations: 7.938 kB / 430.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1202, allocations: 4.375 kB / 430.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.1202, allocations: 7.922 kB / 430.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1202, allocations: 4 kB / 430.1 MB, free: 1.297 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 8.672e-05/0.1203, allocations: 109.8 kB / 430.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.1204, allocations: 69.61 kB / 430.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.1204, allocations: 7.5 kB / 430.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1204, allocations: 4.234 kB / 430.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1204, allocations: 0 / 430.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1204, allocations: 3.984 kB / 430.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1206, allocations: 153.7 kB / 430.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1206, allocations: 0 / 430.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1206, allocations: 11.92 kB / 430.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1206, allocations: 3.938 kB / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1206, allocations: 0 / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1206, allocations: 0 / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1206, allocations: 0 / 430.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1208, allocations: 93.06 kB / 430.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.1208, allocations: 77.11 kB / 430.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1208, allocations: 7.938 kB / 430.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.1209, allocations: 7.984 kB / 430.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.1209, allocations: 0 / 430.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1209, allocations: 0 / 430.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.1209, allocations: 79.28 kB / 430.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1209, allocations: 0 / 430.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.1211, allocations: 8 kB / 430.7 MB, free: 0.5625 MB / 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.0005891/0.1217, allocations: 0.6514 MB / 431.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.1218, allocations: 27.92 kB / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1218, allocations: 0 / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.1218, allocations: 320 / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1221, allocations: 34.36 kB / 431.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1232, allocations: 1.17 MB / 432.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1235, allocations: 0.6768 MB / 433.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.699e-05/0.1235, allocations: 8 kB / 433.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.1236, allocations: 11.42 kB / 433.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1236, allocations: 0 / 433.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.1482, allocations: 1.314 MB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.014, allocations: 11.88 kB / 434.6 MB, free: 12.63 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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: 10.45134498924017]