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.001833/0.001833, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.002097/0.002097, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.576/1.576, allocations: 230.4 MB / 254.7 MB, free: 15.05 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1147, allocations: 53.38 MB / 427.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002749/0.1174, allocations: 1.426 MB / 428.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002027/0.1176, allocations: 31.91 kB / 428.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.1177, allocations: 3.938 kB / 428.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.1177, allocations: 7.938 kB / 428.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.1177, allocations: 3.938 kB / 428.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.118, allocations: 19.97 kB / 428.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1181, allocations: 27.92 kB / 428.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1183, allocations: 11.98 kB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.1183, allocations: 11.94 kB / 428.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.1183, allocations: 15.92 kB / 428.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1184, allocations: 4 kB / 428.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.1184, allocations: 4 kB / 428.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.1184, allocations: 7.984 kB / 428.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1184, allocations: 11.92 kB / 428.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1185, allocations: 35.78 kB / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1185, allocations: 0 / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1185, allocations: 0 / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1185, allocations: 0 / 428.7 MB, free: 3.008 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.0004967/0.119, allocations: 335.5 kB / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1191, allocations: 15.97 kB / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.514e-05/0.1191, allocations: 8.188 kB / 429 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.1191, allocations: 30.75 kB / 429.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1192, allocations: 4.938 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1194, allocations: 184.2 kB / 429.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1194, allocations: 4.375 kB / 429.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1194, allocations: 384 / 429.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.1198, allocations: 127.6 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1199, allocations: 4 kB / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1199, allocations: 0 / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1199, allocations: 0 / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.12, allocations: 27.97 kB / 429.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1201, allocations: 149.7 kB / 429.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1203, allocations: 54.48 kB / 429.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.1203, allocations: 24.92 kB / 429.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1204, allocations: 4 kB / 429.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1204, allocations: 34.5 kB / 429.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1204, allocations: 0 / 429.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.1206, allocations: 73.62 kB / 429.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.1207, allocations: 67.33 kB / 429.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.1208, allocations: 97.86 kB / 429.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1208, allocations: 25.7 kB / 429.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.1209, allocations: 84.14 kB / 430 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1209, allocations: 7.984 kB / 430 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.1209, allocations: 17.72 kB / 430 MB, free: 1.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1211, allocations: 314.8 kB / 430.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.1211, allocations: 7.984 kB / 430.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.1212, allocations: 27.44 kB / 430.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.1212, allocations: 39.38 kB / 430.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1212, allocations: 0 / 430.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.012e-05/0.1213, allocations: 65.52 kB / 430.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1213, allocations: 11.94 kB / 430.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1213, allocations: 0 / 430.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1213, allocations: 4.125 kB / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.1214, allocations: 7.938 kB / 430.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1214, allocations: 0 / 430.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.1214, allocations: 11.94 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1214, allocations: 3.984 kB / 430.5 MB, free: 0.9062 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 0.0001713/0.1216, allocations: 109.8 kB / 430.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.1218, allocations: 61.62 kB / 430.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.1218, allocations: 7.484 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1218, allocations: 4 kB / 430.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1218, allocations: 4 kB / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1218, allocations: 0 / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.122, allocations: 153.7 kB / 430.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.122, allocations: 240 / 430.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.122, allocations: 12.3 kB / 430.9 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.122, allocations: 3.938 kB / 430.9 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.122, allocations: 4 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.122, allocations: 4 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.122, allocations: 3.984 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1223, allocations: 93.06 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.1223, allocations: 81.05 kB / 431 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1223, allocations: 0 / 431 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.1224, allocations: 7.984 kB / 431.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-06/0.1224, allocations: 0 / 431.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1224, allocations: 0 / 431.1 MB, free: 264 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.1224, allocations: 83.28 kB / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1224, allocations: 0 / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1226, allocations: 4 kB / 431.1 MB, free: 176 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.0007646/0.1234, allocations: 0.6514 MB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1235, allocations: 31.91 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1235, allocations: 3.938 kB / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1235, allocations: 320 / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1238, allocations: 25.39 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1249, allocations: 1.17 MB / 433 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1253, allocations: 0.6807 MB / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.596e-05/0.1253, allocations: 4 kB / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.1253, allocations: 15.42 kB / 433.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1253, allocations: 0 / 433.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1427, allocations: 1.355 MB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.215, allocations: 6.328 kB / 435.1 MB, free: 12.23 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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.149871324014384]