Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",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.001102/0.001102, allocations: 91.69 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.001328/0.001328, allocations: 182 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.676/1.676, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 8 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 50.42 MB / 352 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003128/0.151, allocations: 1.582 MB / 353.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1534, allocations: 1.099 MB / 354.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1537, allocations: 7.938 kB / 354.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.1542, allocations: 59.8 kB / 354.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.1545, allocations: 79.66 kB / 354.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1556, allocations: 235 kB / 355 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.1559, allocations: 163.5 kB / 355.2 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1561, allocations: 29.53 kB / 355.2 MB, free: 104 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1563, allocations: 63.64 kB / 355.3 MB, free: 40 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1565, allocations: 71.81 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.1565, allocations: 4 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.1568, allocations: 47.91 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1569, allocations: 47.83 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.157, allocations: 97.19 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1574, allocations: 219.4 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1575, allocations: 0 / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1575, allocations: 0 / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1575, allocations: 4 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009309/0.1584, allocations: 0.4922 MB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.1585, allocations: 12.03 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.1586, allocations: 34.75 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.1587, allocations: 24.66 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.1592, allocations: 291.6 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.1592, allocations: 4.312 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1592, allocations: 15.94 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.1596, allocations: 163.5 kB / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1597, allocations: 4 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1597, allocations: 0 / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1597, allocations: 0 / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1598, allocations: 43.91 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.1605, allocations: 374.5 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1608, allocations: 111.9 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1609, allocations: 46.56 kB / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.161, allocations: 15.92 kB / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1612, allocations: 75.3 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.1612, allocations: 0 / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004426/0.1617, allocations: 149.4 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1618, allocations: 166.4 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.1622, allocations: 334.5 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1622, allocations: 29.7 kB / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1624, allocations: 128.1 kB / 358.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1624, allocations: 15.88 kB / 358.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1624, allocations: 17.72 kB / 358.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1626, allocations: 330.8 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.1626, allocations: 23.98 kB / 358.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1628, allocations: 90.84 kB / 358.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1629, allocations: 88.16 kB / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1629, allocations: 0 / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002559/0.1632, allocations: 125.4 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1632, allocations: 4 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1633, allocations: 0 / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1633, allocations: 7.938 kB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1634, allocations: 23.92 kB / 358.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1634, allocations: 128 / 358.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.1635, allocations: 16.16 kB / 358.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1635, allocations: 4 kB / 358.9 MB, free: 11.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001715/0.1637, allocations: 161.8 kB / 359.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.1638, allocations: 65.44 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.1639, allocations: 25.77 kB / 359.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1639, allocations: 3.984 kB / 359.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1639, allocations: 3.984 kB / 359.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1639, allocations: 12 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1642, allocations: 233.5 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1642, allocations: 4 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.1642, allocations: 8 kB / 359.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1643, allocations: 0 / 359.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1643, allocations: 7.984 kB / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1643, allocations: 0 / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1643, allocations: 0 / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1646, allocations: 170.4 kB / 359.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1647, allocations: 112.9 kB / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1647, allocations: 8 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.1648, allocations: 0 / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.1649, allocations: 19.86 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1649, allocations: 4 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1651, allocations: 237.9 kB / 360 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1652, allocations: 4 kB / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1655, allocations: 35.98 kB / 360 MB, free: 10.79 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001548/0.167, allocations: 1.021 MB / 361.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1673, allocations: 71.91 kB / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1673, allocations: 0 / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.1674, allocations: 31.92 kB / 361.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1679, allocations: 64.44 kB / 361.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.1707, allocations: 2.237 MB / 363.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.171, allocations: 0.7361 MB / 364.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1712, allocations: 29.78 kB / 364.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.1713, allocations: 63.34 kB / 364.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1713, allocations: 0 / 364.3 MB, free: 6.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.1917, allocations: 4.686 MB / 369 MB, free: 2.004 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/0.192, allocations: 261.8 kB / 369.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.458, allocations: 0 / 369.2 MB, free: 1.707 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches