Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.0009932/0.0009932, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001073/0.001073, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8953/0.8953, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.407e-06/3.407e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.161e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002846/0.002878, allocations: 1.601 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.003748, allocations: 0.5102 MB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.003858, allocations: 4 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.003919, allocations: 11.88 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.004107, allocations: 7.875 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.004462, allocations: 62.44 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.004596, allocations: 55.77 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.004715, allocations: 8.188 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.004873, allocations: 43.83 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.00493, allocations: 7.984 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.004956, allocations: 4 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.004999, allocations: 8 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.005052, allocations: 15.92 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.005076, allocations: 19.92 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.005229, allocations: 59.73 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.005234, allocations: 0 / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005235, allocations: 0 / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.00524, allocations: 4 kB / 327 MB, free: 13.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004335/0.005673, allocations: 312.8 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.005717, allocations: 12.03 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.005746, allocations: 30.75 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.005862, allocations: 20.81 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.006084, allocations: 146.2 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.006095, allocations: 4.375 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.006107, allocations: 12.3 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.006349, allocations: 118 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.006357, allocations: 0 / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.006365, allocations: 0 / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.006375, allocations: 8 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/0.006427, allocations: 23.92 kB / 327.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.006715, allocations: 245.7 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.006801, allocations: 67.84 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.006844, allocations: 30.56 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.006865, allocations: 4 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.006887, allocations: 38.5 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006888, allocations: 0 / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001977/0.007086, allocations: 85.56 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.007138, allocations: 102.8 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.007236, allocations: 152.8 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.007246, allocations: 25.7 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.007285, allocations: 100 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.007297, allocations: 4 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.007324, allocations: 17.67 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.007407, allocations: 319.2 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.007431, allocations: 11.98 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.007446, allocations: 8 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.007484, allocations: 20.84 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.007486, allocations: 0 / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.863e-05/0.007545, allocations: 45.62 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007557, allocations: 8 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007561, allocations: 0 / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.007573, allocations: 4.094 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.007624, allocations: 11.92 kB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.007628, allocations: 0 / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.007644, allocations: 0 / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007649, allocations: 0 / 328.9 MB, free: 11.31 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 6.189e-05/0.007711, allocations: 125.8 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.007753, allocations: 45.66 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.007781, allocations: 15.95 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007782, allocations: 0 / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.007788, allocations: 8.062 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.007791, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.007906, allocations: 148.7 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007907, allocations: 3.938 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.007938, allocations: 8 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007941, allocations: 0 / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007947, allocations: 3.938 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.007948, allocations: 4 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007949, allocations: 0 / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.008063, allocations: 185.1 kB / 329.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.00809, allocations: 15.94 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.008102, allocations: 3.938 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.008137, allocations: 7.984 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.008164, allocations: 4 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.008168, allocations: 4 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.008219, allocations: 115.2 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008219, allocations: 0 / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000143/0.008362, allocations: 4 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0002891/0.008651, allocations: 0.7024 MB / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.008743, allocations: 28.02 kB / 330.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008745, allocations: 0 / 330.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.008763, allocations: 7.984 kB / 330.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.009027, allocations: 35.88 kB / 330.4 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.009875, allocations: 1.331 MB / 331.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.009937, allocations: 83.02 kB / 331.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.009964, allocations: 3.984 kB / 331.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.01, allocations: 16.5 kB / 331.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01, allocations: 0 / 331.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.02587, allocations: 2.363 MB / 334.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.886, allocations: 11.98 kB / 334.2 MB, free: 5.934 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_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_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.689123905263841]