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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002579, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3007, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00308/0.3038, allocations: 1.553 MB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.3043, allocations: 135.5 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.3044, allocations: 0 / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/0.3045, allocations: 7.922 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3046, allocations: 11.94 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3049, allocations: 35.84 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.305, allocations: 43.84 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3051, allocations: 11.98 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.3051, allocations: 15.92 kB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.3052, allocations: 7.938 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3052, allocations: 4 kB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.3052, allocations: 4 kB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.3053, allocations: 19.92 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.3053, allocations: 23.81 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3055, allocations: 42.77 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3055, allocations: 4 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3055, allocations: 0 / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3055, allocations: 0 / 410.8 MB, free: 15.54 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.0005114/0.306, allocations: 371.2 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3061, allocations: 8.031 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.3061, allocations: 34.75 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.3061, allocations: 16.83 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3064, allocations: 192.2 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.3064, allocations: 4.375 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3065, allocations: 4.375 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.3068, allocations: 113.6 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3068, allocations: 3.938 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3068, allocations: 3.938 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3068, allocations: 8 kB / 411.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.3069, allocations: 19.92 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3073, allocations: 265.7 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.3075, allocations: 142.2 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.3076, allocations: 29.77 kB / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3076, allocations: 0 / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3077, allocations: 38.56 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3077, allocations: 4 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002601/0.308, allocations: 73.75 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.308, allocations: 85.09 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3082, allocations: 130.1 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3082, allocations: 25.7 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.3083, allocations: 92.12 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.3083, allocations: 4.078 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.3083, allocations: 21.72 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3085, allocations: 310.8 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.3085, allocations: 15.92 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.3086, allocations: 35.42 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.694e-05/0.3087, allocations: 51.36 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3087, allocations: 3.938 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.3089, allocations: 57.62 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3089, allocations: 10.97 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3089, allocations: 4.125 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3089, allocations: 0 / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.309, allocations: 15.98 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.309, allocations: 4 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.309, allocations: 3.953 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.309, allocations: 4 kB / 412.9 MB, free: 13.07 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 9.352e-05/0.3091, allocations: 125.7 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.3092, allocations: 49.59 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.3093, allocations: 12.23 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3093, allocations: 8 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3093, allocations: 0 / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3093, allocations: 0 / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.3095, allocations: 165.6 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3095, allocations: 7.938 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.3096, allocations: 4 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3096, allocations: 4 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.3096, allocations: 0 / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3096, allocations: 0 / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3096, allocations: 0 / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.3098, allocations: 180.2 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.3099, allocations: 89.03 kB / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3099, allocations: 0 / 413.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.31, allocations: 11.98 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.31, allocations: 4 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.31, allocations: 0 / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.315e-05/0.3101, allocations: 110.8 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3101, allocations: 0 / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.3103, allocations: 4 kB / 413.7 MB, free: 12.2 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.0005029/0.3108, allocations: 0.7015 MB / 414.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.311, allocations: 35.91 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.311, allocations: 0 / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.3111, allocations: 8 kB / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3114, allocations: 26.23 kB / 414.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3129, allocations: 1.315 MB / 415.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3132, allocations: 0.6885 MB / 416.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.3132, allocations: 15.97 kB / 416.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3133, allocations: 11.44 kB / 416.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3133, allocations: 3.938 kB / 416.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3367, allocations: 1.479 MB / 418 MB, free: 7.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/8.883, allocations: 17.55 kB / 418 MB, free: 7.84 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches