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.001815/0.001815, allocations: 106.2 kB / 17.06 MB, free: 6.098 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.001987/0.001987, allocations: 200.1 kB / 18 MB, free: 5.168 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.463/1.463, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 51.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3528, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004569/0.3574, allocations: 1.868 MB / 402.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3597, allocations: 1.161 MB / 403.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.3598, allocations: 4 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.3603, allocations: 63.66 kB / 403.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.3606, allocations: 91.59 kB / 403.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.3615, allocations: 259.4 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.3618, allocations: 167.5 kB / 403.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.362, allocations: 33.55 kB / 403.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3621, allocations: 71.69 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3623, allocations: 83.61 kB / 404 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3623, allocations: 8 kB / 404 MB, free: 5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3625, allocations: 67.95 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.605e-05/0.3626, allocations: 43.84 kB / 404.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.3627, allocations: 79.41 kB / 404.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.3631, allocations: 238 kB / 404.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3631, allocations: 4 kB / 404.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3631, allocations: 0 / 404.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3631, allocations: 0 / 404.5 MB, free: 4.578 MB / 318.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.0007569/0.3639, allocations: 0.531 MB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3639, allocations: 8.031 kB / 405 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.364, allocations: 58.59 kB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.364, allocations: 20.8 kB / 405.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.3644, allocations: 287.8 kB / 405.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3645, allocations: 4.375 kB / 405.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3645, allocations: 7.938 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3648, allocations: 159.6 kB / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3649, allocations: 0 / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3649, allocations: 11.88 kB / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3649, allocations: 0 / 405.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.365, allocations: 39.97 kB / 405.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.3656, allocations: 390.3 kB / 406 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3658, allocations: 115.9 kB / 406.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.3659, allocations: 46.56 kB / 406.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.366, allocations: 7.984 kB / 406.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3662, allocations: 75.33 kB / 406.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3662, allocations: 0 / 406.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003961/0.3666, allocations: 157.4 kB / 406.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3667, allocations: 158.2 kB / 406.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.367, allocations: 326.6 kB / 406.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3671, allocations: 33.7 kB / 406.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.3672, allocations: 124.1 kB / 407 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3672, allocations: 15.91 kB / 407 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3673, allocations: 37.91 kB / 407 MB, free: 1.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3674, allocations: 334.8 kB / 407.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.3675, allocations: 27.92 kB / 407.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3676, allocations: 86.78 kB / 407.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3678, allocations: 88.22 kB / 407.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3678, allocations: 0 / 407.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002324/0.368, allocations: 121.5 kB / 407.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3681, allocations: 11.98 kB / 407.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3681, allocations: 128 / 407.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3681, allocations: 4 kB / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3682, allocations: 16 kB / 407.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3682, allocations: 4 kB / 407.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.3683, allocations: 20.12 kB / 407.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3683, allocations: 8 kB / 407.7 MB, free: 0.9414 MB / 318.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.0001386/0.3685, allocations: 149.8 kB / 407.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.3686, allocations: 65.55 kB / 407.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.3686, allocations: 33.77 kB / 408 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3686, allocations: 0 / 408 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3686, allocations: 4 kB / 408 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3686, allocations: 3.938 kB / 408 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.3689, allocations: 237.6 kB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3689, allocations: 3.938 kB / 408.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.3689, allocations: 11.98 kB / 408.2 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.369, allocations: 4 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.369, allocations: 0 / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.369, allocations: 4 kB / 408.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.369, allocations: 3.984 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.3693, allocations: 174.5 kB / 408.4 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3694, allocations: 116.9 kB / 408.5 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.3694, allocations: 4 kB / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.3695, allocations: 8.047 kB / 408.5 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.3696, allocations: 19.84 kB / 408.6 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.3696, allocations: 12.05 kB / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.3698, allocations: 233.9 kB / 408.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3699, allocations: 0 / 408.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3701, allocations: 35.98 kB / 408.8 MB, free: 15.72 MB / 334.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.001922/0.372, allocations: 1.02 MB / 409.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.3723, allocations: 75.91 kB / 409.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3723, allocations: 0 / 409.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.3724, allocations: 27.98 kB / 410 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3728, allocations: 59.69 kB / 410 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.3753, allocations: 2.201 MB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3757, allocations: 0.7397 MB / 413 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.254e-05/0.3758, allocations: 29.55 kB / 413 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3759, allocations: 59.41 kB / 413 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3759, allocations: 0 / 413 MB, free: 11.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.4015, allocations: 5.231 MB / 418.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.402, allocations: 3.281 kB / 418.3 MB, free: 6.422 MB / 334.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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