Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00134/0.00134, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.00145/0.00145, allocations: 190.5 kB / 17.43 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.57/1.57, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002156, allocations: 51.7 kB / 300.1 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1466, allocations: 49.45 MB / 349.5 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004444/0.1511, allocations: 1.577 MB / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005738/0.1517, allocations: 151.5 kB / 351.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1519, allocations: 4 kB / 351.2 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.152, allocations: 3.938 kB / 351.2 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1522, allocations: 7.922 kB / 351.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1525, allocations: 32.53 kB / 351.3 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1526, allocations: 39.86 kB / 351.3 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1528, allocations: 23.97 kB / 351.3 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.1528, allocations: 15.92 kB / 351.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.1529, allocations: 19.86 kB / 351.4 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.1529, allocations: 0 / 351.4 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.1529, allocations: 4 kB / 351.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.153, allocations: 15.92 kB / 351.4 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.1531, allocations: 27.81 kB / 351.4 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1532, allocations: 51.8 kB / 351.5 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1532, allocations: 0 / 351.5 MB, free: 2.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1532, allocations: 7.938 kB / 351.5 MB, free: 2.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1532, allocations: 0 / 351.5 MB, free: 2.73 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.0008448/0.1541, allocations: 383.3 kB / 351.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.838e-05/0.1542, allocations: 12.03 kB / 351.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.1543, allocations: 38.73 kB / 351.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1543, allocations: 8.844 kB / 351.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1547, allocations: 192.1 kB / 352.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1548, allocations: 4.375 kB / 352.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.1548, allocations: 8.375 kB / 352.1 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.1552, allocations: 118.4 kB / 352.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1553, allocations: 3.938 kB / 352.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1553, allocations: 0 / 352.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.1553, allocations: 4 kB / 352.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1555, allocations: 43.91 kB / 352.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.1562, allocations: 369.8 kB / 352.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1564, allocations: 83.77 kB / 352.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1565, allocations: 38.56 kB / 352.8 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1565, allocations: 3.938 kB / 352.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.1566, allocations: 38.56 kB / 352.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.003e-06/0.1566, allocations: 0 / 352.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003725/0.157, allocations: 105.5 kB / 352.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.1571, allocations: 110.8 kB / 353 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1573, allocations: 148.9 kB / 353.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1573, allocations: 29.7 kB / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1574, allocations: 88.05 kB / 353.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1574, allocations: 11.98 kB / 353.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1575, allocations: 21.7 kB / 353.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1576, allocations: 314.8 kB / 353.6 MB, free: 320 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.1577, allocations: 19.98 kB / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.1578, allocations: 43.42 kB / 353.7 MB, free: 244 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1579, allocations: 63.27 kB / 353.7 MB, free: 168 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1579, allocations: 0 / 353.7 MB, free: 168 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001745/0.1581, allocations: 89.52 kB / 353.8 MB, free: 72 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1581, allocations: 6.656 kB / 353.8 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1582, allocations: 4 kB / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1582, allocations: 0 / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.1583, allocations: 15.92 kB / 353.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.1583, allocations: 0 / 353.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1583, allocations: 4 kB / 353.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1584, allocations: 8.125 kB / 353.9 MB, free: 36 kB / 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: 4 (sample1.u[2],sample1.u[1],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.0002121/0.1586, allocations: 125.8 kB / 354 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.1587, allocations: 53.59 kB / 354 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.1587, allocations: 11.88 kB / 354.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.1588, allocations: 0 / 354.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1588, allocations: 0 / 354.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1588, allocations: 7.984 kB / 354.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.159, allocations: 173.6 kB / 354.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1591, allocations: 32 / 354.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.1591, allocations: 15.94 kB / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1591, allocations: 0 / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1591, allocations: 3.984 kB / 354.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1591, allocations: 0 / 354.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1592, allocations: 4 kB / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1595, allocations: 271.6 kB / 354.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.1596, allocations: 92.94 kB / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1596, allocations: 0 / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1598, allocations: 8 kB / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.1598, allocations: 11.92 kB / 354.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1598, allocations: 0 / 354.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.996e-05/0.16, allocations: 111.2 kB / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.16, allocations: 0 / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1603, allocations: 8 kB / 354.7 MB, free: 15.05 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[2],sample1.u[1],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.0007243/0.161, allocations: 0.8061 MB / 355.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1612, allocations: 47.91 kB / 355.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1612, allocations: 0 / 355.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.1613, allocations: 19.92 kB / 355.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1618, allocations: 20.02 kB / 355.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1637, allocations: 1.513 MB / 357.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1641, allocations: 0.6926 MB / 357.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.1642, allocations: 11.98 kB / 357.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.1643, allocations: 11.44 kB / 357.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1643, allocations: 3.938 kB / 357.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.178, allocations: 1.523 MB / 359.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.1783, allocations: 235.8 kB / 359.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.117, allocations: 0 / 359.6 MB, free: 10.13 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches