Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8707/0.8707, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.383e-05, allocations: 6.219 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002143/0.002167, allocations: 1.569 MB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.00289, allocations: 0.5374 MB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.002972, allocations: 0 / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.003017, allocations: 11.86 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.003158, allocations: 7.984 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.003499, allocations: 71.62 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.003617, allocations: 47.78 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003734, allocations: 20.11 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.003876, allocations: 31.97 kB / 326.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.003935, allocations: 11.92 kB / 326.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.003953, allocations: 4 kB / 326.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.004007, allocations: 15.98 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.004059, allocations: 11.94 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.004081, allocations: 7.938 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004242, allocations: 63.77 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.004247, allocations: 4 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.004249, allocations: 0 / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.004255, allocations: 3.938 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004643/0.004719, allocations: 305.2 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.00476, allocations: 12.03 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.004789, allocations: 34.75 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.004899, allocations: 16.88 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.005111, allocations: 145.5 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.00512, allocations: 384 / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.00513, allocations: 4.375 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.005349, allocations: 113.6 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005357, allocations: 192 / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.005365, allocations: 3.938 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00537, allocations: 4 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.005416, allocations: 19.92 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.005669, allocations: 224.9 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.519e-05/0.005724, allocations: 53.08 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.005752, allocations: 21.78 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.00577, allocations: 0 / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.005791, allocations: 34.56 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.005792, allocations: 4 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001761/0.005968, allocations: 65.56 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.006013, allocations: 77.11 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.00611, allocations: 153.5 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.00612, allocations: 25.7 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.006162, allocations: 92.39 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.006174, allocations: 3.953 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.006201, allocations: 17.7 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.006279, allocations: 314.8 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.006302, allocations: 7.938 kB / 328.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.006318, allocations: 7.984 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.006359, allocations: 24.84 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006361, allocations: 0 / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.428e-05/0.006425, allocations: 57.64 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006438, allocations: 4 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.006443, allocations: 4 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006455, allocations: 0 / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.006503, allocations: 3.984 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006508, allocations: 0 / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.006523, allocations: 4 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006529, allocations: 0 / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.248e-05/0.006591, allocations: 117.8 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.006626, allocations: 49.61 kB / 329 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.006655, allocations: 23.69 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006657, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006662, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006664, allocations: 0 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.006777, allocations: 140.7 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006778, allocations: 4 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.006798, allocations: 4 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0068, allocations: 4 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.006807, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006808, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.006808, allocations: 4.031 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.006916, allocations: 168.2 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.006944, allocations: 11.94 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006956, allocations: 4 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.006989, allocations: 4 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.007013, allocations: 4 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.007015, allocations: 0 / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.696e-05/0.007062, allocations: 113.8 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007062, allocations: 0 / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.007206, allocations: 12.03 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0002592/0.007465, allocations: 0.6936 MB / 330.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.007552, allocations: 15.98 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007553, allocations: 3.938 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.007574, allocations: 11.98 kB / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.007845, allocations: 16.22 kB / 330.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/0.008739, allocations: 1.301 MB / 331.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.403e-05/0.008803, allocations: 75.08 kB / 331.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.008831, allocations: 0 / 331.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.008872, allocations: 16.5 kB / 331.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008873, allocations: 4.031 kB / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/0.02279, allocations: 2.232 MB / 333.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/6.894, allocations: 6.875 kB / 333.8 MB, free: 6.375 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.640583380125463]