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.0008214/0.0008214, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001002/0.001002, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8904/0.8904, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.903e-06/1.903e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.967e-05, allocations: 4.953 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002006/0.002026, allocations: 1.446 MB / 326 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.002209, allocations: 27.86 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.002266, allocations: 4 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.002293, allocations: 3.938 kB / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.002324, allocations: 0 / 326 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.00254, allocations: 35.84 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.00261, allocations: 23.92 kB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.002698, allocations: 11.98 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.002749, allocations: 11.98 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.002781, allocations: 7.984 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.002803, allocations: 4 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-06/0.002811, allocations: 7.938 kB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.002827, allocations: 7.938 kB / 326.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.00285, allocations: 11.98 kB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.16e-05/0.002932, allocations: 27.89 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.002935, allocations: 4 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.002937, allocations: 4 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.002941, allocations: 0 / 326.2 MB, free: 14.31 MB / 298.7 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.0002812/0.003222, allocations: 266.3 kB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000196/0.003418, allocations: 8.031 kB / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.003447, allocations: 38.75 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.622e-05/0.003463, allocations: 0.9375 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.003622, allocations: 125.7 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.003639, allocations: 4.375 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.003648, allocations: 4.375 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.003873, allocations: 123.8 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.003879, allocations: 192 / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003886, allocations: 384 / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.003891, allocations: 4.125 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.003948, allocations: 19.98 kB / 326.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.233e-05/0.004041, allocations: 124.8 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.004127, allocations: 46.55 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.004169, allocations: 24.92 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.004179, allocations: 8 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.004197, allocations: 38.44 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.004198, allocations: 4 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.004346, allocations: 69.62 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.004386, allocations: 59.34 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.004444, allocations: 105.8 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004454, allocations: 25.7 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.004481, allocations: 84.14 kB / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.00449, allocations: 0 / 327.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.004513, allocations: 21.64 kB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.004588, allocations: 310.8 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.004611, allocations: 12 kB / 327.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.004618, allocations: 3.938 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.004641, allocations: 8.859 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.004645, allocations: 0 / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.304e-05/0.004688, allocations: 41.69 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.004702, allocations: 8 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.004707, allocations: 0 / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.004718, allocations: 0 / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.004772, allocations: 7.938 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.004777, allocations: 4.094 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-06/0.004785, allocations: 256 / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-06/0.004788, allocations: 0 / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.538e-05/0.004853, allocations: 117.8 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.004921, allocations: 65.56 kB / 327.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.004941, allocations: 7.688 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.004942, allocations: 240 / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.004948, allocations: 3.938 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.00495, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.861e-05/0.005009, allocations: 132.7 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.00501, allocations: 0 / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.005024, allocations: 11.98 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005025, allocations: 0 / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005032, allocations: 4 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005033, allocations: 0 / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.005035, allocations: 3.938 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.532e-05/0.00512, allocations: 85.05 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.005126, allocations: 7.953 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.005137, allocations: 0 / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.005149, allocations: 4 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.005153, allocations: 7.922 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005155, allocations: 7.938 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.749e-05/0.005183, allocations: 83.28 kB / 328.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005183, allocations: 3.938 kB / 328.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.005295, allocations: 4 kB / 328.3 MB, free: 11.91 MB / 298.7 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.0002981/0.005593, allocations: 0.6359 MB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.005666, allocations: 19.98 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005667, allocations: 0 / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.005667, allocations: 0 / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.005821, allocations: 27.86 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.006405, allocations: 1.107 MB / 330.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.006442, allocations: 71.28 kB / 330.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.098e-05/0.006453, allocations: 0 / 330.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.006491, allocations: 8.5 kB / 330.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006491, allocations: 0 / 330.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.02317, allocations: 1.925 MB / 332.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/6.55, allocations: 11.03 kB / 332.1 MB, free: 8.102 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.201109826564789]