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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00237/0.00237, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.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 0.001553/0.001553, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002966/0.2504, allocations: 1.569 MB / 432.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2516, allocations: 0.5298 MB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2517, allocations: 4 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.59e-05/0.2517, allocations: 3.938 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2519, allocations: 11.86 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2522, allocations: 63.75 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2524, allocations: 51.84 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2525, allocations: 8.188 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.2526, allocations: 31.84 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.2527, allocations: 15.86 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2527, allocations: 4 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.09e-05/0.2527, allocations: 8 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.2528, allocations: 15.92 kB / 433.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2528, allocations: 19.88 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.253, allocations: 61.36 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.253, allocations: 0 / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.253, allocations: 4 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.253, allocations: 0 / 433.5 MB, free: 4.215 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004891/0.2535, allocations: 305.9 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2535, allocations: 15.97 kB / 433.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.2535, allocations: 34.75 kB / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.2537, allocations: 16.88 kB / 433.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.254, allocations: 142.4 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-06/0.254, allocations: 384 / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.254, allocations: 12.36 kB / 434 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2542, allocations: 109 kB / 434.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2543, allocations: 0 / 434.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2543, allocations: 0 / 434.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2543, allocations: 7.984 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.2543, allocations: 19.92 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.2546, allocations: 228.8 kB / 434.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.2547, allocations: 49.16 kB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.2548, allocations: 29.7 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2548, allocations: 0 / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2548, allocations: 30.56 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2548, allocations: 0 / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.255, allocations: 69.56 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2551, allocations: 81.05 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2552, allocations: 148.8 kB / 434.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2552, allocations: 25.7 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.2553, allocations: 92.12 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2553, allocations: 3.953 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.2554, allocations: 17.72 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2555, allocations: 318.8 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.2555, allocations: 8 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.2556, allocations: 25.64 kB / 435.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.2556, allocations: 37.77 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2556, allocations: 0 / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.2558, allocations: 57.58 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2558, allocations: 4 kB / 435.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2558, allocations: 4 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2558, allocations: 0 / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.2559, allocations: 7.984 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2559, allocations: 0 / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.2559, allocations: 4.062 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2559, allocations: 4 kB / 435.3 MB, free: 2.109 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: 0 () * 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.31e-05/0.256, allocations: 117.8 kB / 435.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.256, allocations: 45.58 kB / 435.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.2561, allocations: 15.77 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2561, allocations: 0 / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2561, allocations: 0 / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2561, allocations: 0 / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2563, allocations: 144.7 kB / 435.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2563, allocations: 0 / 435.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.2563, allocations: 8.031 kB / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2563, allocations: 0 / 435.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2563, allocations: 4 kB / 435.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2563, allocations: 3.984 kB / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2563, allocations: 3.938 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2565, allocations: 156.3 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.2565, allocations: 15.94 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2565, allocations: 7.938 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.2566, allocations: 0 / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.2566, allocations: 4.031 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.2566, allocations: 7.984 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.361e-05/0.2567, allocations: 103.3 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2567, allocations: 0 / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.2569, allocations: 8 kB / 436 MB, free: 1.398 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: 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.0004537/0.2574, allocations: 0.6976 MB / 436.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2575, allocations: 20.02 kB / 436.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2575, allocations: 4.062 kB / 436.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.2576, allocations: 11.98 kB / 436.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2579, allocations: 19.95 kB / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.2592, allocations: 1.328 MB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.824e-05/0.2593, allocations: 79.52 kB / 438.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.2593, allocations: 4.109 kB / 438.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.2594, allocations: 15.44 kB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.2594, allocations: 0 / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.2873, allocations: 2.114 MB / 440.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.36, allocations: 10.56 kB / 440.3 MB, free: 13.09 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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: 13.940374582074583]