Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0007828/0.0007828, 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.0009059/0.0009059, 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.9044/0.9044, 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.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.844e-05, allocations: 4.531 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003024/0.003053, allocations: 1.586 MB / 326.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.003775, allocations: 0.4985 MB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.003851, allocations: 0 / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.331e-05/0.003894, allocations: 3.938 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.004041, allocations: 11.92 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.004351, allocations: 67.69 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.004447, allocations: 31.86 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.00454, allocations: 11.98 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004663, allocations: 31.91 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.004708, allocations: 11.98 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004724, allocations: 0 / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.004765, allocations: 8 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.004812, allocations: 11.92 kB / 326.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.004835, allocations: 15.94 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.004986, allocations: 59.72 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004989, allocations: 0 / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004991, allocations: 4 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.004995, allocations: 0 / 326.9 MB, free: 13.57 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.0003725/0.005368, allocations: 294 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.005409, allocations: 8.031 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.005441, allocations: 38.75 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.005561, allocations: 16.88 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.005753, allocations: 133.7 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.005761, allocations: 384 / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.005771, allocations: 8.375 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.005982, allocations: 93.55 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005989, allocations: 192 / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.006001, allocations: 8.125 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.006005, allocations: 0 / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.006051, allocations: 11.98 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.006322, allocations: 240.7 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.323e-05/0.006385, allocations: 49.2 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.006418, allocations: 25.66 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.006436, allocations: 0 / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.006453, allocations: 30.56 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006454, allocations: 4 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.00662, allocations: 69.56 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.006662, allocations: 77.11 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.006758, allocations: 146.3 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.006768, allocations: 29.7 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.006812, allocations: 84.14 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.006823, allocations: 4 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.006855, allocations: 17.67 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.006939, allocations: 318.8 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.006962, allocations: 8 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.006978, allocations: 7.984 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.007016, allocations: 20.78 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007018, allocations: 4.062 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.126e-05/0.007079, allocations: 53.62 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.007091, allocations: 4 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007096, allocations: 0 / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.007105, allocations: 0 / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.007153, allocations: 4 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.00716, allocations: 7.969 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.606e-05/0.007176, allocations: 4 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007181, allocations: 0 / 328.7 MB, free: 11.55 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 5.506e-05/0.007236, allocations: 117.9 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.00727, allocations: 49.52 kB / 328.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.007322, allocations: 11.77 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.007324, allocations: 7.984 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007328, allocations: 0 / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.00733, allocations: 3.938 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.007433, allocations: 136.7 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.007437, allocations: 11.94 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.007458, allocations: 4 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.00746, allocations: 0 / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.007466, allocations: 4.031 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007467, allocations: 0 / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007469, allocations: 4 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.525e-05/0.007564, allocations: 160.3 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.007594, allocations: 19.88 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.007604, allocations: 0 / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.12e-05/0.007636, allocations: 4 kB / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.007663, allocations: 0 / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.007666, allocations: 0 / 329.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.83e-05/0.007714, allocations: 114.4 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007714, allocations: 4 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.007865, allocations: 4 kB / 329.4 MB, free: 10.84 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.0003322/0.008197, allocations: 0.6898 MB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.008282, allocations: 23.92 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008284, allocations: 3.938 kB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.008302, allocations: 8.094 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.008537, allocations: 16.02 kB / 330.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.009338, allocations: 1.294 MB / 331.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.009392, allocations: 75.33 kB / 331.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.66e-05/0.009418, allocations: 4.188 kB / 331.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.009456, allocations: 20.48 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009456, allocations: 0 / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.02474, allocations: 2.151 MB / 333.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.871, allocations: 0.9375 kB / 333.6 MB, free: 6.535 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.699103794060647]