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.001003/0.001003, allocations: 91.12 kB / 16.65 MB, free: 6.598 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.00127/0.00127, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.616/1.616, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 4 kB / 301.5 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 50.41 MB / 351.9 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001956/0.1376, allocations: 1.139 MB / 353.1 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.1379, allocations: 31.84 kB / 353.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.138, allocations: 0 / 353.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.138, allocations: 0 / 353.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.1381, allocations: 4 kB / 353.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1384, allocations: 23.97 kB / 353.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.1385, allocations: 27.92 kB / 353.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1386, allocations: 4 kB / 353.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.1387, allocations: 11.94 kB / 353.2 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.1387, allocations: 15.91 kB / 353.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1388, allocations: 0 / 353.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.1388, allocations: 0 / 353.2 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.1388, allocations: 8 kB / 353.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1389, allocations: 33.62 kB / 353.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.545e-05/0.139, allocations: 31.89 kB / 353.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.139, allocations: 0 / 353.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.139, allocations: 0 / 353.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.139, allocations: 0 / 353.3 MB, free: 2.008 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.0005476/0.1395, allocations: 343.7 kB / 353.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.111e-05/0.1396, allocations: 8.031 kB / 353.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.1397, allocations: 34.69 kB / 353.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1397, allocations: 4.938 kB / 353.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.14, allocations: 176.3 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.14, allocations: 384 / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.14, allocations: 8.375 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.1404, allocations: 111.9 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1405, allocations: 3.938 kB / 354 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1405, allocations: 0 / 354 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1405, allocations: 4 kB / 354 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1406, allocations: 27.91 kB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.1408, allocations: 157.7 kB / 354.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.141, allocations: 50.55 kB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.1411, allocations: 28.91 kB / 354.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.1411, allocations: 4 kB / 354.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1411, allocations: 34.56 kB / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1411, allocations: 0 / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003017/0.1415, allocations: 81.45 kB / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1415, allocations: 63.39 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.1416, allocations: 97.86 kB / 354.5 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1416, allocations: 25.7 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.1417, allocations: 88.14 kB / 354.6 MB, free: 476 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1417, allocations: 7.922 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.1418, allocations: 9.719 kB / 354.6 MB, free: 452 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1419, allocations: 318.8 kB / 354.9 MB, free: 124 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.1419, allocations: 0 / 354.9 MB, free: 124 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.142, allocations: 39.42 kB / 355 MB, free: 72 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.142, allocations: 35.38 kB / 355 MB, free: 24 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.142, allocations: 3.938 kB / 355 MB, free: 20 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000133/0.1422, allocations: 61.56 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1422, allocations: 11.94 kB / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1422, allocations: 0 / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1422, allocations: 0 / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.1423, allocations: 8 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1423, allocations: 4 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.1424, allocations: 3.906 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1424, allocations: 4 kB / 355.1 MB, free: 15.92 MB / 302.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.535e-05/0.1425, allocations: 122 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.1426, allocations: 61.56 kB / 355.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1427, allocations: 11.86 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1427, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1427, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1427, allocations: 0 / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1428, allocations: 161.6 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1428, allocations: 0 / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.1429, allocations: 7.984 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1429, allocations: 3.938 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1429, allocations: 8 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1429, allocations: 0 / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1429, allocations: 0 / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1431, allocations: 85.84 kB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.1431, allocations: 84.95 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1432, allocations: 3.938 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.1432, allocations: 7.984 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-06/0.1432, allocations: 0 / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1432, allocations: 4 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.1433, allocations: 83.28 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1433, allocations: 0 / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.1435, allocations: 4 kB / 355.7 MB, free: 15.18 MB / 302.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.0005943/0.1441, allocations: 0.6478 MB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1443, allocations: 39.97 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1443, allocations: 0 / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1443, allocations: 0 / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1446, allocations: 27.97 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1458, allocations: 1.177 MB / 357.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1461, allocations: 0.677 MB / 358.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.1462, allocations: 7.984 kB / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.1462, allocations: 7.438 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1462, allocations: 0 / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.1585, allocations: 1.103 MB / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.1588, allocations: 215.2 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.12, allocations: 0 / 359.6 MB, free: 11.25 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