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.001196/0.001196, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001381/0.001381, allocations: 201.2 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001506/0.001506, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002709/0.2647, allocations: 1.518 MB / 432.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.2651, allocations: 135.5 kB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.2652, allocations: 4 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.338e-05/0.2652, allocations: 7.922 kB / 432.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.2653, allocations: 3.938 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.2656, allocations: 39.84 kB / 432.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.2656, allocations: 31.92 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.2657, allocations: 15.92 kB / 432.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.2658, allocations: 11.94 kB / 432.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.2658, allocations: 11.92 kB / 432.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2658, allocations: 4 kB / 432.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.2658, allocations: 4 kB / 432.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.2659, allocations: 7.938 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2659, allocations: 11.92 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.266, allocations: 49.39 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.266, allocations: 0 / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.266, allocations: 0 / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.266, allocations: 4 kB / 432.9 MB, free: 4.785 MB / 334.1 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.000402/0.2664, allocations: 282.1 kB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2664, allocations: 12.03 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.2665, allocations: 34.75 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.2665, allocations: 8.891 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.2667, allocations: 138.3 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2667, allocations: 4.312 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2667, allocations: 4.375 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.267, allocations: 93.67 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.267, allocations: 11.88 kB / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.267, allocations: 0 / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.267, allocations: 0 / 433.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.326e-05/0.267, allocations: 11.98 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.2673, allocations: 228.9 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.2674, allocations: 45.09 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.2675, allocations: 25.77 kB / 433.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2675, allocations: 0 / 433.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2675, allocations: 34.56 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2675, allocations: 0 / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002073/0.2677, allocations: 57.62 kB / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.2678, allocations: 85.03 kB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2679, allocations: 140.7 kB / 434.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2679, allocations: 29.64 kB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.268, allocations: 84.39 kB / 434.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.268, allocations: 8 kB / 434.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.268, allocations: 17.72 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2682, allocations: 314.8 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.2682, allocations: 4 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/0.2682, allocations: 25.7 kB / 434.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.2683, allocations: 21.7 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2683, allocations: 3.938 kB / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.2684, allocations: 61.64 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2684, allocations: 4 kB / 434.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2684, allocations: 4 kB / 434.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2684, allocations: 4 kB / 434.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.2685, allocations: 4 kB / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2685, allocations: 0 / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.2685, allocations: 7.984 kB / 434.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2685, allocations: 0 / 434.7 MB, free: 2.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.606e-05/0.2686, allocations: 125.8 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.2687, allocations: 37.66 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.2687, allocations: 15.75 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2687, allocations: 4 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2687, allocations: 0 / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2687, allocations: 3.984 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2689, allocations: 136.6 kB / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2689, allocations: 0 / 435 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.2689, allocations: 11.98 kB / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2689, allocations: 3.938 kB / 435 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.2689, allocations: 0 / 435 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2689, allocations: 4.031 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2689, allocations: 0 / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.2691, allocations: 160.3 kB / 435.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.2691, allocations: 15.94 kB / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.2691, allocations: 0 / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.2692, allocations: 4 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2692, allocations: 3.938 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.2692, allocations: 7.984 kB / 435.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.2693, allocations: 99.27 kB / 435.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2693, allocations: 4.031 kB / 435.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.2695, allocations: 4 kB / 435.3 MB, free: 2.062 MB / 334.1 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.0004552/0.2699, allocations: 0.6936 MB / 436 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2701, allocations: 15.98 kB / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2701, allocations: 0 / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.2701, allocations: 8.156 kB / 436.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2704, allocations: 22.59 kB / 436.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2716, allocations: 1.264 MB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.2717, allocations: 71.33 kB / 437.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.991e-05/0.2717, allocations: 4 kB / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2717, allocations: 7.438 kB / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2717, allocations: 4.125 kB / 437.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2991, allocations: 1.945 MB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.11, allocations: 4 kB / 439.4 MB, free: 14.02 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/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: 13.628313207998872]