Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001623/0.001623, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001982/0.001982, allocations: 214 kB / 23.75 MB, free: 4.672 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.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 53.39 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00306/0.2911, allocations: 1.587 MB / 432.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2921, allocations: 0.5453 MB / 433.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.2922, allocations: 0 / 433.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.2923, allocations: 7.938 kB / 433.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2924, allocations: 15.86 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2927, allocations: 51.89 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2928, allocations: 39.8 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2929, allocations: 7.984 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.293, allocations: 35.84 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.2931, allocations: 15.88 kB / 433.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2931, allocations: 4 kB / 433.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.2931, allocations: 11.98 kB / 433.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.2932, allocations: 8 kB / 433.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.2932, allocations: 23.81 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2934, allocations: 60.09 kB / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2934, allocations: 0 / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2934, allocations: 0 / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2934, allocations: 0 / 433.6 MB, free: 4.285 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.0004535/0.2938, allocations: 294 kB / 433.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2939, allocations: 12.03 kB / 433.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.2939, allocations: 34.75 kB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.294, allocations: 16.88 kB / 433.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.2943, allocations: 149 kB / 434.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2943, allocations: 8.375 kB / 434.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2943, allocations: 384 / 434.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.2945, allocations: 89.17 kB / 434.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2946, allocations: 8 kB / 434.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2946, allocations: 4 kB / 434.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2946, allocations: 0 / 434.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.2946, allocations: 11.98 kB / 434.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.2949, allocations: 236.8 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.295, allocations: 49.16 kB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.2951, allocations: 17.77 kB / 434.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2951, allocations: 7.984 kB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2951, allocations: 38.5 kB / 434.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2951, allocations: 0 / 434.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.2954, allocations: 73.66 kB / 434.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.2954, allocations: 81.05 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2956, allocations: 134.2 kB / 434.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2956, allocations: 25.7 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.2956, allocations: 96.12 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.2956, allocations: 0 / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.2957, allocations: 17.67 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2958, allocations: 326.9 kB / 435.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.2959, allocations: 4 kB / 435.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.2959, allocations: 21.7 kB / 435.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.296, allocations: 33.64 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.296, allocations: 0 / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.2961, allocations: 53.75 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2961, allocations: 4 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2961, allocations: 0 / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2961, allocations: 4 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.2962, allocations: 4 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2962, allocations: 3.984 kB / 435.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.2962, allocations: 3.938 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2962, allocations: 4 kB / 435.4 MB, free: 2.219 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.568e-05/0.2963, allocations: 121.8 kB / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.2964, allocations: 45.64 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2964, allocations: 7.766 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2964, allocations: 4 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2964, allocations: 3.938 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2964, allocations: 0 / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2966, allocations: 144.6 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2966, allocations: 4 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.2966, allocations: 11.98 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2966, allocations: 4.031 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2966, allocations: 0 / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2966, allocations: 0 / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2966, allocations: 0 / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2968, allocations: 164.2 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.2969, allocations: 11.94 kB / 435.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2969, allocations: 12.03 kB / 435.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.2969, allocations: 3.938 kB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.297, allocations: 7.984 kB / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.297, allocations: 0 / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.2971, allocations: 106 kB / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2971, allocations: 0 / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2973, allocations: 4 kB / 436.1 MB, free: 1.5 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.0004609/0.2977, allocations: 0.7009 MB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.2979, allocations: 23.97 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2979, allocations: 0 / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.2979, allocations: 12.09 kB / 436.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2982, allocations: 16.02 kB / 436.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2995, allocations: 1.305 MB / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.2999, allocations: 0.6924 MB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.2999, allocations: 0 / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.2999, allocations: 19.42 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2999, allocations: 0 / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3269, allocations: 1.605 MB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 11.73 kB / 440.5 MB, free: 13.09 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.710102652999922]