Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.0008093/0.0008093, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008967/0.0008967, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9169/0.9169, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.262e-05, allocations: 4.531 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00194/0.001963, allocations: 1.528 MB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.002299, allocations: 147.4 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.002379, allocations: 0 / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.002424, allocations: 3.938 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.002553, allocations: 11.88 kB / 326.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.002745, allocations: 31.89 kB / 326.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.002828, allocations: 23.94 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.002919, allocations: 15.92 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.002961, allocations: 15.92 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.002999, allocations: 7.984 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.00302, allocations: 8 kB / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-06/0.003028, allocations: 0 / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.003074, allocations: 15.92 kB / 326.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.003096, allocations: 11.94 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.003195, allocations: 35.88 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003198, allocations: 4 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.003199, allocations: 0 / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.003204, allocations: 0 / 326.4 MB, free: 14.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000369/0.003573, allocations: 286.1 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.003613, allocations: 8.031 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.003642, allocations: 38.75 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.003665, allocations: 8.891 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.003853, allocations: 133.6 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.003862, allocations: 384 / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.00387, allocations: 384 / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.004076, allocations: 89.61 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004084, allocations: 192 / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.004093, allocations: 4.375 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.004099, allocations: 8.125 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.004137, allocations: 15.98 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.004407, allocations: 228.8 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/0.004467, allocations: 41.2 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.004495, allocations: 17.78 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.004513, allocations: 0 / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.004536, allocations: 46.38 kB / 327.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004537, allocations: 0 / 327.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.004699, allocations: 65.61 kB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.004744, allocations: 81.11 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.004828, allocations: 140.9 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.004837, allocations: 25.7 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.004874, allocations: 88.08 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-06/0.004882, allocations: 4 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.004905, allocations: 13.72 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.004981, allocations: 310.8 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.005004, allocations: 12.23 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.005017, allocations: 8 kB / 328.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.00505, allocations: 16.84 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005051, allocations: 0 / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.901e-05/0.00511, allocations: 57.52 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005124, allocations: 8 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005128, allocations: 0 / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.005143, allocations: 0 / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.005192, allocations: 12.08 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005196, allocations: 0 / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.005209, allocations: 0 / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005213, allocations: 0 / 328.1 MB, free: 12.12 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: 1 (step.y) * 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 5.405e-05/0.005267, allocations: 109.8 kB / 328.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.005303, allocations: 49.58 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.005326, allocations: 11.77 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.00533, allocations: 3.984 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.005339, allocations: 4 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.005343, allocations: 0 / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.005479, allocations: 144.7 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.005483, allocations: 3.984 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.005518, allocations: 4 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.005522, allocations: 3.938 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.005528, allocations: 0 / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00553, allocations: 0 / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005531, allocations: 4 kB / 328.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.005635, allocations: 144.4 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.005665, allocations: 23.88 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.005676, allocations: 4.031 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.005707, allocations: 3.984 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.005732, allocations: 4 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.005735, allocations: 3.938 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.596e-05/0.005781, allocations: 107.2 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005781, allocations: 3.938 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.00592, allocations: 4 kB / 328.8 MB, free: 11.42 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: 2 (step.y,sample1.y) * 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.0002839/0.006204, allocations: 0.6859 MB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.006289, allocations: 23.92 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.00629, allocations: 0 / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.006307, allocations: 4 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.00655, allocations: 16.02 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.007362, allocations: 1.251 MB / 330.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.274e-05/0.007415, allocations: 75.62 kB / 330.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.689e-05/0.007432, allocations: 7.984 kB / 330.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.007465, allocations: 8.5 kB / 330.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007465, allocations: 0 / 330.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.02382, allocations: 2.048 MB / 332.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.937, allocations: 3.266 kB / 332.9 MB, free: 7.281 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,sample1.y,step.y,periodicClock.factor,periodicClock.resolution [Calling sys.exit(0), Time elapsed: 8.746900138445199]