Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.001259/0.001259, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.001537/0.001537, allocations: 184.5 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.679/1.679, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003624, allocations: 11.98 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 50.39 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002563/0.1533, allocations: 1.233 MB / 353.2 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000546/0.1539, allocations: 152.2 kB / 353.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1541, allocations: 0 / 353.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1542, allocations: 3.984 kB / 353.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1544, allocations: 11.92 kB / 353.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1548, allocations: 27.92 kB / 353.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1549, allocations: 39.91 kB / 353.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1551, allocations: 23.97 kB / 353.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.1551, allocations: 11.88 kB / 353.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.1552, allocations: 15.92 kB / 353.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.1552, allocations: 4 kB / 353.5 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.1553, allocations: 0 / 353.5 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.1554, allocations: 11.92 kB / 353.5 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.1554, allocations: 53.52 kB / 353.5 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.1556, allocations: 51.73 kB / 353.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1556, allocations: 0 / 353.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1556, allocations: 0 / 353.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1556, allocations: 0 / 353.6 MB, free: 1.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006947/0.1563, allocations: 367.4 kB / 353.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.1564, allocations: 12.03 kB / 353.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.1565, allocations: 30.75 kB / 354 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.1565, allocations: 12.84 kB / 354 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1568, allocations: 187.1 kB / 354.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1568, allocations: 4.375 kB / 354.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1569, allocations: 8.375 kB / 354.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.1572, allocations: 122.4 kB / 354.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1573, allocations: 3.938 kB / 354.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1573, allocations: 0 / 354.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.1573, allocations: 7.938 kB / 354.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1575, allocations: 35.97 kB / 354.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.1581, allocations: 361.8 kB / 354.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1583, allocations: 87.84 kB / 354.8 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.125e-05/0.1584, allocations: 34.56 kB / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1584, allocations: 0 / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1584, allocations: 34.56 kB / 354.8 MB, free: 480 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1584, allocations: 0 / 354.8 MB, free: 480 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003935/0.1588, allocations: 105.4 kB / 354.9 MB, free: 368 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.1589, allocations: 103.2 kB / 355.1 MB, free: 240 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1591, allocations: 145.8 kB / 355.2 MB, free: 84 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1591, allocations: 29.64 kB / 355.2 MB, free: 48 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.1592, allocations: 92.12 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1593, allocations: 3.906 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1593, allocations: 13.72 kB / 355.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1594, allocations: 322.8 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1595, allocations: 11.98 kB / 355.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.1596, allocations: 43.38 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1597, allocations: 63.34 kB / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1597, allocations: 0 / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001632/0.1599, allocations: 73.61 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1599, allocations: 11.94 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1599, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1599, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.674e-05/0.16, allocations: 4 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.16, allocations: 4.109 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.1601, allocations: 11.91 kB / 355.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1601, allocations: 4 kB / 355.9 MB, free: 15.35 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002074/0.1603, allocations: 129.8 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1604, allocations: 53.53 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.1604, allocations: 7.875 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.1605, allocations: 4 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1605, allocations: 4 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1605, allocations: 4.031 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1608, allocations: 177.6 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1608, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.1608, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1608, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1608, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1608, allocations: 4 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1608, allocations: 0 / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1611, allocations: 267.5 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.1612, allocations: 93.09 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1612, allocations: 0 / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.1613, allocations: 7.984 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1613, allocations: 0 / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1613, allocations: 8 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.748e-05/0.1614, allocations: 113.7 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1617, allocations: 4 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0005638/0.1623, allocations: 0.8016 MB / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1625, allocations: 47.91 kB / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.1625, allocations: 0 / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.1626, allocations: 24.11 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1631, allocations: 33.83 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1648, allocations: 1.478 MB / 359.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1652, allocations: 0.7003 MB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.1652, allocations: 4 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1653, allocations: 15.42 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1653, allocations: 0 / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.1783, allocations: 1.436 MB / 361.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.1786, allocations: 243.2 kB / 361.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.237, allocations: 4 kB / 361.5 MB, free: 9.59 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches