Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 206 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2848, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003091/0.2879, allocations: 1.572 MB / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.289, allocations: 0.5336 MB / 433.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.2891, allocations: 4 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.224e-05/0.2891, allocations: 3.938 kB / 433.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2893, allocations: 15.86 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2896, allocations: 67.75 kB / 433.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2897, allocations: 43.86 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2898, allocations: 16.16 kB / 433.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2899, allocations: 27.86 kB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.29, allocations: 15.88 kB / 433.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.29, allocations: 4 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.2901, allocations: 7.984 kB / 433.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.2901, allocations: 11.98 kB / 433.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2901, allocations: 27.8 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.2903, allocations: 57.44 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2903, allocations: 3.938 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2903, allocations: 0 / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2903, allocations: 0 / 433.5 MB, free: 4.047 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.0005046/0.2908, allocations: 309.9 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.2908, allocations: 15.98 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.2909, allocations: 34.75 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.291, allocations: 16.88 kB / 433.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2913, allocations: 149.1 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2913, allocations: 384 / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2913, allocations: 4.375 kB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.2916, allocations: 113 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2916, allocations: 0 / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2916, allocations: 0 / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2916, allocations: 4 kB / 434.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.2917, allocations: 23.92 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.292, allocations: 224.8 kB / 434.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.2921, allocations: 45.16 kB / 434.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.2922, allocations: 25.77 kB / 434.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.2922, allocations: 0 / 434.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2922, allocations: 30.56 kB / 434.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2922, allocations: 7.875 kB / 434.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000245/0.2925, allocations: 73.78 kB / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2925, allocations: 77.11 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2926, allocations: 145.8 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2927, allocations: 25.7 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.2927, allocations: 88.14 kB / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2927, allocations: 3.953 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.2928, allocations: 17.72 kB / 434.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2929, allocations: 318.8 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.2929, allocations: 11.94 kB / 435.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.293, allocations: 21.73 kB / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.2931, allocations: 33.77 kB / 435.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2931, allocations: 0 / 435.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001352/0.2932, allocations: 57.58 kB / 435.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2932, allocations: 4 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2932, allocations: 4 kB / 435.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2932, allocations: 0 / 435.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.2933, allocations: 12.05 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2933, allocations: 0 / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.2933, allocations: 4 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2933, allocations: 0 / 435.4 MB, free: 1.949 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 9.235e-05/0.2934, allocations: 121.8 kB / 435.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.2935, allocations: 41.59 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.2935, allocations: 15.77 kB / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2935, allocations: 0 / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2935, allocations: 0 / 435.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2935, allocations: 3.984 kB / 435.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.2937, allocations: 144.7 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2937, allocations: 4 kB / 435.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.2938, allocations: 7.984 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2938, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2938, allocations: 4 kB / 435.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2938, allocations: 0 / 435.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2938, allocations: 3.984 kB / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.294, allocations: 160.2 kB / 435.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.294, allocations: 15.94 kB / 435.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.294, allocations: 11.97 kB / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.2941, allocations: 0 / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.2941, allocations: 7.984 kB / 435.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2942, allocations: 0 / 435.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.2942, allocations: 106 kB / 436 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2942, allocations: 0 / 436 MB, free: 1.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.2944, allocations: 11.94 kB / 436 MB, free: 1.227 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.0004579/0.2949, allocations: 0.6898 MB / 436.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.295, allocations: 31.94 kB / 436.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.295, allocations: 0 / 436.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.2951, allocations: 8 kB / 436.8 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2954, allocations: 19.14 kB / 436.8 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.2968, allocations: 1.328 MB / 438.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.2969, allocations: 79.33 kB / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.2969, allocations: 0 / 438.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2969, allocations: 15.44 kB / 438.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2969, allocations: 0 / 438.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3259, allocations: 2.105 MB / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.02, allocations: 11.31 kB / 440.3 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.523257060907781]