Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.0008312/0.0008312, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008408/0.0008408, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8645/0.8645, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.788e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001824/0.001842, allocations: 1.571 MB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003628/0.002205, allocations: 143.5 kB / 326.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.002284, allocations: 4 kB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.00233, allocations: 7.922 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.002459, allocations: 3.938 kB / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.002658, allocations: 35.84 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.002745, allocations: 35.91 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.002833, allocations: 11.94 kB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.002874, allocations: 19.92 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.002922, allocations: 11.97 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.002946, allocations: 4 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.002954, allocations: 0 / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.002999, allocations: 15.94 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.003028, allocations: 15.92 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.878e-05/0.003127, allocations: 47.81 kB / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003129, allocations: 0 / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003129, allocations: 0 / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.003133, allocations: 0 / 326.5 MB, free: 13.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003424/0.003476, allocations: 290.1 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.003513, allocations: 11.98 kB / 326.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.003546, allocations: 42.73 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.987e-05/0.003566, allocations: 8.891 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.003715, allocations: 130.5 kB / 326.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.003729, allocations: 8.375 kB / 326.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.003737, allocations: 384 / 326.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.003943, allocations: 117.5 kB / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.00395, allocations: 192 / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003957, allocations: 384 / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003962, allocations: 8.125 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.004002, allocations: 19.98 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.004223, allocations: 232.8 kB / 327.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.004345, allocations: 57.2 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.004383, allocations: 29.77 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.004398, allocations: 0 / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.004415, allocations: 42.44 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004415, allocations: 0 / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001524/0.004568, allocations: 81.64 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.004611, allocations: 93.12 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.004686, allocations: 128.1 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004695, allocations: 25.7 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.004728, allocations: 88.14 kB / 327.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.00474, allocations: 3.953 kB / 327.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.004762, allocations: 17.72 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.004841, allocations: 314.8 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.004859, allocations: 4 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.004871, allocations: 12.12 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.004902, allocations: 16.84 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.004904, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.099e-05/0.004955, allocations: 53.56 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.004987, allocations: 8 kB / 328.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004992, allocations: 0 / 328.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.005003, allocations: 3.984 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.005046, allocations: 4.094 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005051, allocations: 7.984 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.005065, allocations: 3.938 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.005069, allocations: 0 / 328.3 MB, free: 11.88 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.511e-05/0.005124, allocations: 117.8 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.005175, allocations: 49.59 kB / 328.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.005199, allocations: 16.33 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005202, allocations: 3.938 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005205, allocations: 0 / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.005209, allocations: 4 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.938e-05/0.005308, allocations: 136.8 kB / 328.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.005309, allocations: 0 / 328.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.005333, allocations: 11.98 kB / 328.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005336, allocations: 3.938 kB / 328.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005341, allocations: 0 / 328.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.005343, allocations: 4 kB / 328.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005344, allocations: 0 / 328.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.005435, allocations: 164.3 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.005459, allocations: 15.89 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.005469, allocations: 3.984 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.005498, allocations: 19.81 kB / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.005522, allocations: 0 / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.005525, allocations: 4 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.005567, allocations: 105.8 kB / 328.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005567, allocations: 0 / 328.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.00571, allocations: 4 kB / 328.9 MB, free: 11.15 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 (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.000242/0.005952, allocations: 0.6937 MB / 329.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.006028, allocations: 27.92 kB / 329.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006029, allocations: 0 / 329.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.006044, allocations: 4 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.00628, allocations: 20.02 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.006953, allocations: 1.258 MB / 330.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.007002, allocations: 75.33 kB / 331 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.007019, allocations: 4.156 kB / 331 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.007052, allocations: 20.48 kB / 331 MB, free: 8.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007052, allocations: 0 / 331 MB, free: 8.91 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.0221, allocations: 2.119 MB / 333.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.715, allocations: 0 / 333.1 MB, free: 6.891 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,assignClock.u,assignClock.y,sample1.y,step.y,step.height [Calling sys.exit(0), Time elapsed: 8.443018932826817]