Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9097/0.9097, allocations: 173.4 MB / 200.4 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.845e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001928/0.001946, allocations: 1.5 MB / 319.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.002273, allocations: 147.4 kB / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.00235, allocations: 3.938 kB / 320.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.002389, allocations: 3.938 kB / 320.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.002508, allocations: 11.92 kB / 320.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.002693, allocations: 27.91 kB / 320.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.002775, allocations: 31.86 kB / 320.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.002857, allocations: 11.94 kB / 320.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.002893, allocations: 15.98 kB / 320.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.00293, allocations: 11.92 kB / 320.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.002952, allocations: 4 kB / 320.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.00296, allocations: 0 / 320.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.003004, allocations: 11.98 kB / 320.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.003024, allocations: 7.938 kB / 320.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.104e-05/0.003115, allocations: 39.88 kB / 320.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003117, allocations: 0 / 320.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003118, allocations: 0 / 320.2 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.706e-06/0.003122, allocations: 0 / 320.2 MB, free: 4.512 MB / 282.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.0003281/0.00345, allocations: 297.3 kB / 320.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.003487, allocations: 8.922 kB / 320.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.003515, allocations: 38.69 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.003539, allocations: 12.88 kB / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.003709, allocations: 129.7 kB / 320.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.003718, allocations: 384 / 320.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.003727, allocations: 4.375 kB / 320.7 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.003922, allocations: 97.55 kB / 320.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.003929, allocations: 192 / 320.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.003936, allocations: 384 / 320.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003941, allocations: 4.125 kB / 320.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.003982, allocations: 19.98 kB / 320.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.004235, allocations: 224.8 kB / 321.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.004286, allocations: 37.22 kB / 321.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.004312, allocations: 21.77 kB / 321.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.004328, allocations: 0 / 321.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004347, allocations: 42.44 kB / 321.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004347, allocations: 0 / 321.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.004496, allocations: 65.56 kB / 321.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.004542, allocations: 81.11 kB / 321.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.004623, allocations: 133.5 kB / 321.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.004633, allocations: 25.7 kB / 321.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.004673, allocations: 88.14 kB / 321.6 MB, free: 3.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.004681, allocations: 3.953 kB / 321.6 MB, free: 3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.004704, allocations: 17.97 kB / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.004797, allocations: 322.8 kB / 321.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.004825, allocations: 4 kB / 321.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.004844, allocations: 7.984 kB / 321.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.004881, allocations: 20.84 kB / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004883, allocations: 0 / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.186e-05/0.004945, allocations: 49.56 kB / 322 MB, free: 2.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.004957, allocations: 8 kB / 322 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.004962, allocations: 4.094 kB / 322 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.004973, allocations: 0 / 322 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.005019, allocations: 4 kB / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.005028, allocations: 0 / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.005042, allocations: 3.953 kB / 322 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.005047, allocations: 0 / 322 MB, free: 2.543 MB / 282.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 6.475e-05/0.005112, allocations: 117.8 kB / 322.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.005148, allocations: 41.64 kB / 322.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.005175, allocations: 15.78 kB / 322.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.005177, allocations: 11.91 kB / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.005183, allocations: 0 / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.005186, allocations: 0 / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.005295, allocations: 136.8 kB / 322.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005295, allocations: 0 / 322.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.005317, allocations: 8 kB / 322.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005319, allocations: 3.938 kB / 322.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005325, allocations: 0 / 322.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.005327, allocations: 3.984 kB / 322.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005328, allocations: 4 kB / 322.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.8e-05/0.005426, allocations: 152.4 kB / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.005453, allocations: 19.88 kB / 322.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.005465, allocations: 4 kB / 322.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.974e-05/0.005495, allocations: 0 / 322.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.005527, allocations: 7.938 kB / 322.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.00553, allocations: 0 / 322.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.005585, allocations: 107.2 kB / 322.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005585, allocations: 0 / 322.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000152/0.005737, allocations: 4 kB / 322.6 MB, free: 1.84 MB / 282.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.0003423/0.006079, allocations: 0.682 MB / 323.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.006182, allocations: 23.92 kB / 323.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006184, allocations: 0 / 323.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/0.006203, allocations: 7.984 kB / 323.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.006497, allocations: 19.91 kB / 323.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.007399, allocations: 1.247 MB / 324.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.007452, allocations: 67.33 kB / 324.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.00747, allocations: 4 kB / 324.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.007504, allocations: 12.5 kB / 324.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007505, allocations: 0 / 324.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.02112, allocations: 2.048 MB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.812, allocations: 3.859 kB / 326.7 MB, free: 13.71 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.618572463281453]