Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 103 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 40.84 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 49.46 MB / 349.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00466/0.1495, allocations: 1.468 MB / 351 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002228/0.1498, allocations: 35.84 kB / 351 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.1498, allocations: 0 / 351 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.1499, allocations: 0 / 351 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.15, allocations: 3.938 kB / 351 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1502, allocations: 23.97 kB / 351 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.1503, allocations: 23.98 kB / 351.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.1504, allocations: 4 kB / 351.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.1505, allocations: 15.92 kB / 351.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.1505, allocations: 19.92 kB / 351.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1506, allocations: 0 / 351.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.1506, allocations: 4 kB / 351.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.1506, allocations: 3.938 kB / 351.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1507, allocations: 15.92 kB / 351.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.1508, allocations: 23.89 kB / 351.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1508, allocations: 0 / 351.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1508, allocations: 0 / 351.2 MB, free: 3.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1508, allocations: 0 / 351.2 MB, free: 3.078 MB / 286.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.0004673/0.1513, allocations: 351.7 kB / 351.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1513, allocations: 12.03 kB / 351.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.1514, allocations: 30.75 kB / 351.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1514, allocations: 8.844 kB / 351.5 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1516, allocations: 172.4 kB / 351.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1516, allocations: 384 / 351.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1516, allocations: 4.375 kB / 351.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.152, allocations: 111.9 kB / 351.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1521, allocations: 11.88 kB / 351.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1521, allocations: 7.938 kB / 351.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1521, allocations: 0 / 351.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1522, allocations: 23.97 kB / 351.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1524, allocations: 153.7 kB / 352 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1526, allocations: 50.55 kB / 352.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.1527, allocations: 24.92 kB / 352.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1527, allocations: 7.984 kB / 352.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1528, allocations: 38.56 kB / 352.1 MB, free: 1.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1528, allocations: 3.938 kB / 352.1 MB, free: 1.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003043/0.1531, allocations: 77.52 kB / 352.2 MB, free: 1.824 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.1532, allocations: 55.39 kB / 352.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1533, allocations: 101.9 kB / 352.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1533, allocations: 25.7 kB / 352.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.1534, allocations: 88.14 kB / 352.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1534, allocations: 3.984 kB / 352.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.1534, allocations: 17.72 kB / 352.5 MB, free: 1.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1536, allocations: 314.8 kB / 352.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.1536, allocations: 7.984 kB / 352.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.1537, allocations: 31.38 kB / 352.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.1537, allocations: 39.38 kB / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1537, allocations: 0 / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.1538, allocations: 69.47 kB / 353 MB, free: 1.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1539, allocations: 7.938 kB / 353 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1539, allocations: 0 / 353 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1539, allocations: 8.125 kB / 353 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.154, allocations: 4 kB / 353 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.154, allocations: 0 / 353 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.154, allocations: 0 / 353 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.154, allocations: 7.984 kB / 353 MB, free: 0.9805 MB / 286.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.057e-05/0.1541, allocations: 117.8 kB / 353.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.1543, allocations: 57.62 kB / 353.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.1543, allocations: 11.48 kB / 353.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1543, allocations: 0 / 353.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1543, allocations: 4 kB / 353.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1543, allocations: 0 / 353.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1545, allocations: 157.6 kB / 353.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1545, allocations: 0 / 353.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.1545, allocations: 7.984 kB / 353.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1545, allocations: 8.25 kB / 353.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1545, allocations: 0 / 353.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1546, allocations: 4 kB / 353.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1546, allocations: 4 kB / 353.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1547, allocations: 92.95 kB / 353.4 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1548, allocations: 77.11 kB / 353.5 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1548, allocations: 7.938 kB / 353.5 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.1549, allocations: 7.984 kB / 353.5 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-06/0.1549, allocations: 0 / 353.5 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1549, allocations: 4 kB / 353.5 MB, free: 328 kB / 286.1 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.1549, allocations: 79.28 kB / 353.6 MB, free: 248 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1549, allocations: 0 / 353.6 MB, free: 248 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000195/0.1551, allocations: 4 kB / 353.6 MB, free: 244 kB / 286.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.000597/0.1557, allocations: 0.6555 MB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1559, allocations: 27.97 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1559, allocations: 4 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.1559, allocations: 0 / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1562, allocations: 32.23 kB / 354.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1574, allocations: 1.158 MB / 355.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1577, allocations: 0.6848 MB / 356.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.1578, allocations: 4 kB / 356.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.1578, allocations: 11.44 kB / 356.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1578, allocations: 0 / 356.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.1706, allocations: 1.159 MB / 357.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.1709, allocations: 218.5 kB / 357.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.111, allocations: 2.188 kB / 357.6 MB, free: 12.23 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches