Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.86 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 50.53 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002557/0.2435, allocations: 1.507 MB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.2443, allocations: 474.8 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.123e-05/0.2444, allocations: 0 / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.2444, allocations: 3.938 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.2445, allocations: 11.88 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2448, allocations: 35.83 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.2448, allocations: 35.92 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.2449, allocations: 12 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2451, allocations: 27.84 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.2451, allocations: 23.92 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2452, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.2452, allocations: 4 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.2452, allocations: 11.94 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.2453, allocations: 15.92 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2454, allocations: 42.78 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2454, allocations: 0 / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2454, allocations: 3.984 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2454, allocations: 0 / 411 MB, free: 15.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003857/0.2458, allocations: 351.3 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2458, allocations: 8.031 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.2459, allocations: 38.73 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.246, allocations: 12.94 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2462, allocations: 184.2 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-06/0.2463, allocations: 384 / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2463, allocations: 8.375 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.2466, allocations: 119.4 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2466, allocations: 0 / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2466, allocations: 7.984 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2466, allocations: 0 / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.2467, allocations: 19.98 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.2469, allocations: 157.6 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.247, allocations: 62.48 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.2471, allocations: 28.92 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2471, allocations: 0 / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2471, allocations: 34.5 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.2471, allocations: 3.984 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.2474, allocations: 81.59 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2474, allocations: 55.41 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.2475, allocations: 113.8 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2475, allocations: 25.7 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.2476, allocations: 88.14 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-06/0.2476, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2476, allocations: 17.72 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2477, allocations: 318.8 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.2477, allocations: 8 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.2478, allocations: 23.44 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.2478, allocations: 39.36 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2478, allocations: 0 / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.136e-05/0.2479, allocations: 57.53 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.248, allocations: 15.92 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.248, allocations: 384 / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.248, allocations: 0 / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.248, allocations: 8 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2481, allocations: 0 / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.2481, allocations: 7.938 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2481, allocations: 4.125 kB / 412.8 MB, free: 13.22 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 7.83e-05/0.2482, allocations: 121.7 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.2483, allocations: 69.55 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.2484, allocations: 3.906 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2484, allocations: 0 / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2484, allocations: 0 / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2484, allocations: 0 / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2485, allocations: 173.6 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2485, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.2486, allocations: 15.92 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2486, allocations: 4 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2486, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2486, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2486, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.2488, allocations: 81.11 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2488, allocations: 89 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.2489, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.2489, allocations: 11.98 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-06/0.2489, allocations: 0 / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.2489, allocations: 3.938 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.249, allocations: 91.22 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.249, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.2492, allocations: 4 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004097/0.2496, allocations: 0.628 MB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.2497, allocations: 24.34 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2498, allocations: 0 / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2498, allocations: 4 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.25, allocations: 19.98 kB / 414.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.251, allocations: 1.194 MB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.2513, allocations: 0.6807 MB / 416 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.2513, allocations: 11.92 kB / 416 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.2513, allocations: 15.44 kB / 416.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2513, allocations: 0 / 416.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2684, allocations: 1.325 MB / 417.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.872, allocations: 3.938 kB / 417.4 MB, free: 8.504 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches