Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 67.88 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2559, allocations: 50.53 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003172/0.2592, allocations: 1.6 MB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2602, allocations: 0.5143 MB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.2603, allocations: 7.938 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.55e-05/0.2604, allocations: 3.938 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2605, allocations: 15.86 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.2609, allocations: 51.83 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.261, allocations: 51.83 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2611, allocations: 12 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2612, allocations: 27.92 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.2613, allocations: 19.86 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2613, allocations: 4 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.2614, allocations: 4 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.2614, allocations: 19.91 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.2615, allocations: 27.81 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2617, allocations: 62.69 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.328e-05/0.2617, allocations: 0 / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2617, allocations: 3.938 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.2617, allocations: 0 / 411.2 MB, free: 15.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005877/0.2623, allocations: 383 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2624, allocations: 12.03 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.2624, allocations: 30.75 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2626, allocations: 20.88 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.2629, allocations: 200.2 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2629, allocations: 8.375 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2629, allocations: 8.312 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2632, allocations: 121.1 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2633, allocations: 0 / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.2633, allocations: 0 / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2633, allocations: 4 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.2634, allocations: 19.98 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.2638, allocations: 265.7 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.264, allocations: 142.3 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.2641, allocations: 37.7 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2641, allocations: 3.984 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2641, allocations: 30.56 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2642, allocations: 0 / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002705/0.2644, allocations: 85.75 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.2645, allocations: 81.11 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2647, allocations: 140.5 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2647, allocations: 25.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.2647, allocations: 88.14 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.2648, allocations: 11.89 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.2648, allocations: 21.83 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.265, allocations: 322.8 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.265, allocations: 7.984 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.2651, allocations: 35.42 kB / 413.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.2652, allocations: 47.36 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2652, allocations: 0 / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.2654, allocations: 77.5 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2654, allocations: 8 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2654, allocations: 0 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2654, allocations: 128 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.2655, allocations: 15.98 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2655, allocations: 3.984 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.2655, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.2656, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001058/0.2657, allocations: 121.8 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/0.2658, allocations: 49.59 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.2658, allocations: 16.23 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2658, allocations: 0 / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2658, allocations: 4 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2658, allocations: 0 / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.266, allocations: 173.6 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.266, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.2661, allocations: 11.98 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2661, allocations: 0 / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2661, allocations: 3.938 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2661, allocations: 4 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2661, allocations: 0 / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.2663, allocations: 180.2 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.2664, allocations: 89.05 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2664, allocations: 4 kB / 414 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.2665, allocations: 4 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.2666, allocations: 7.984 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2666, allocations: 0 / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.2667, allocations: 109.5 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.2667, allocations: 4 kB / 414.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.2669, allocations: 7.938 kB / 414.2 MB, free: 11.66 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 (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.000545/0.2674, allocations: 0.7126 MB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.2676, allocations: 31.98 kB / 414.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2676, allocations: 0 / 414.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.2677, allocations: 11.92 kB / 414.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.268, allocations: 27.97 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.2694, allocations: 1.359 MB / 416.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2698, allocations: 0.6885 MB / 417 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.2699, allocations: 12.02 kB / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.2699, allocations: 15.44 kB / 417 MB, free: 8.652 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2699, allocations: 0 / 417 MB, free: 8.652 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.2928, allocations: 1.579 MB / 418.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.719, allocations: 15.84 kB / 418.6 MB, free: 7.156 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches