Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2438, allocations: 50.54 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002619/0.2465, allocations: 1.515 MB / 410.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.2473, allocations: 0.4933 MB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.2474, allocations: 0 / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2474, allocations: 11.92 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.2475, allocations: 15.81 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.2477, allocations: 39.88 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.2479, allocations: 71.66 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.2479, allocations: 8.188 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2481, allocations: 39.89 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.2482, allocations: 39.78 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2482, allocations: 8 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.2482, allocations: 12 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2483, allocations: 11.97 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.2483, allocations: 27.8 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2484, allocations: 58.89 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2485, allocations: 4 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2485, allocations: 0 / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2485, allocations: 0 / 411.1 MB, free: 15.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006116/0.2491, allocations: 399.1 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2491, allocations: 12.03 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.2492, allocations: 30.75 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/0.2495, allocations: 36.8 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2497, allocations: 179.1 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.2497, allocations: 4.375 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2497, allocations: 384 / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.25, allocations: 96.09 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.25, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.25, allocations: 0 / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.25, allocations: 4 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.2503, allocations: 67.86 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.2505, allocations: 199.3 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.2508, allocations: 99.75 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2509, allocations: 46.61 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.251, allocations: 3.938 kB / 412.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.251, allocations: 38.55 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.251, allocations: 4 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005407/0.2516, allocations: 137.5 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2516, allocations: 106.8 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.2517, allocations: 130.2 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2517, allocations: 29.7 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.2518, allocations: 96.12 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2518, allocations: 7.906 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.2519, allocations: 21.7 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.252, allocations: 314.8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2521, allocations: 31.97 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2523, allocations: 50.53 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2526, allocations: 86.41 kB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2526, allocations: 7.984 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000327/0.2529, allocations: 105.5 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2529, allocations: 8 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2529, allocations: 3.984 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.253, allocations: 0 / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2531, allocations: 20.08 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2531, allocations: 0 / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.2532, allocations: 11.98 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2533, allocations: 4 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.344e-05/0.2533, allocations: 125.7 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2534, allocations: 11.89 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.2534, allocations: 11.83 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2534, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2534, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2534, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.2536, allocations: 185.5 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2536, allocations: 3.938 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.2537, allocations: 19.97 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2537, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2537, allocations: 4 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2538, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2538, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.2541, allocations: 146.6 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.2542, allocations: 89 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.2542, allocations: 4 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2543, allocations: 19.98 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2543, allocations: 7.984 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2544, allocations: 0 / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.2544, allocations: 105.6 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2544, allocations: 0 / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.2546, allocations: 8 kB / 414.2 MB, free: 11.71 MB / 334.1 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.0005619/0.2552, allocations: 0.6803 MB / 414.9 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2555, allocations: 71.88 kB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2556, allocations: 0 / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2557, allocations: 43.95 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.2559, allocations: 3.938 kB / 415 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.2577, allocations: 1.455 MB / 416.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.258, allocations: 0.6885 MB / 417.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.258, allocations: 8.031 kB / 417.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.2581, allocations: 23.42 kB / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2581, allocations: 0 / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.2746, allocations: 1.75 MB / 418.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.94, allocations: 3.234 kB / 418.9 MB, free: 6.895 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches