Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001691/0.001691, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001582/0.001582, 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.607/1.607, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 51.91 kB / 300.1 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1507, allocations: 49.44 MB / 349.5 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00445/0.1552, allocations: 1.542 MB / 351.1 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000502/0.1558, allocations: 131.6 kB / 351.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1559, allocations: 3.938 kB / 351.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.036e-05/0.1561, allocations: 0 / 351.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1562, allocations: 15.92 kB / 351.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1566, allocations: 23.98 kB / 351.2 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1567, allocations: 27.91 kB / 351.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1569, allocations: 8 kB / 351.3 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.1569, allocations: 15.92 kB / 351.3 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.157, allocations: 11.94 kB / 351.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.157, allocations: 0 / 351.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.157, allocations: 4 kB / 351.3 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.1571, allocations: 15.92 kB / 351.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.1572, allocations: 15.88 kB / 351.3 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1574, allocations: 43.75 kB / 351.4 MB, free: 2.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1574, allocations: 0 / 351.4 MB, free: 2.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1574, allocations: 0 / 351.4 MB, free: 2.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1574, allocations: 0 / 351.4 MB, free: 2.691 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000645/0.158, allocations: 359.5 kB / 351.7 MB, free: 2.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.1581, allocations: 12.03 kB / 351.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.1582, allocations: 42.73 kB / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1582, allocations: 8.781 kB / 351.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1586, allocations: 180.2 kB / 352 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.1586, allocations: 4.375 kB / 352 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1586, allocations: 4.375 kB / 352 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.1589, allocations: 93.61 kB / 352.1 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1589, allocations: 3.938 kB / 352.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.159, allocations: 0 / 352.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.159, allocations: 0 / 352.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.159, allocations: 19.92 kB / 352.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1594, allocations: 249.8 kB / 352.3 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.1595, allocations: 53.16 kB / 352.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.1596, allocations: 21.69 kB / 352.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1596, allocations: 0 / 352.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1596, allocations: 34.56 kB / 352.4 MB, free: 1.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1596, allocations: 0 / 352.4 MB, free: 1.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002299/0.1599, allocations: 61.53 kB / 352.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.16, allocations: 77.11 kB / 352.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1601, allocations: 133.8 kB / 352.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1601, allocations: 25.7 kB / 352.7 MB, free: 1.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1602, allocations: 88.11 kB / 352.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.1602, allocations: 0 / 352.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1602, allocations: 21.88 kB / 352.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1604, allocations: 318.8 kB / 353.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.1604, allocations: 4 kB / 353.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.1604, allocations: 21.64 kB / 353.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.1605, allocations: 21.72 kB / 353.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1605, allocations: 3.938 kB / 353.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.1606, allocations: 49.69 kB / 353.2 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.1606, allocations: 8 kB / 353.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1607, allocations: 3.938 kB / 353.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1607, allocations: 0 / 353.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-05/0.1607, allocations: 0 / 353.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1607, allocations: 0 / 353.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.1607, allocations: 7.984 kB / 353.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1608, allocations: 3.984 kB / 353.3 MB, free: 0.5156 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 9.203e-05/0.1609, allocations: 121.8 kB / 353.4 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.1609, allocations: 41.61 kB / 353.4 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.161, allocations: 11.52 kB / 353.4 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.161, allocations: 3.938 kB / 353.4 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.161, allocations: 0 / 353.4 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.161, allocations: 0 / 353.4 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1611, allocations: 165.6 kB / 353.6 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1612, allocations: 3.938 kB / 353.6 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-06/0.1612, allocations: 7.984 kB / 353.6 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1612, allocations: 0 / 353.6 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1612, allocations: 4.031 kB / 353.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1612, allocations: 0 / 353.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1612, allocations: 0 / 353.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.1614, allocations: 152.2 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.1614, allocations: 93.03 kB / 353.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1615, allocations: 4 kB / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.1615, allocations: 8.031 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1616, allocations: 3.938 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.1616, allocations: 0 / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.1617, allocations: 110.8 kB / 354 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1617, allocations: 0 / 354 MB, free: 15.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1619, allocations: 4 kB / 354 MB, free: 15.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0004653/0.1624, allocations: 0.6936 MB / 354.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1625, allocations: 15.92 kB / 354.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1625, allocations: 0 / 354.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.1625, allocations: 8 kB / 354.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.163, allocations: 11.09 kB / 354.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1643, allocations: 1.269 MB / 356 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1646, allocations: 0.6888 MB / 356.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.1647, allocations: 4 kB / 356.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1647, allocations: 7.438 kB / 356.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1647, allocations: 0 / 356.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/0.2143, allocations: 1.195 MB / 357.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.2147, allocations: 221.9 kB / 358.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.117, allocations: 0 / 358.1 MB, free: 11.54 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches