Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3038, allocations: 50.53 MB / 408.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003756/0.3076, allocations: 1.707 MB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005136/0.3082, allocations: 159.5 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3083, allocations: 11.88 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.3084, allocations: 7.922 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3085, allocations: 7.875 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.3088, allocations: 43.89 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3089, allocations: 55.84 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.309, allocations: 31.98 kB / 410.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.3091, allocations: 23.86 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.3092, allocations: 27.84 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3092, allocations: 4 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.3092, allocations: 8 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.3093, allocations: 19.92 kB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3093, allocations: 31.75 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3095, allocations: 67.72 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3095, allocations: 0 / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3095, allocations: 0 / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3095, allocations: 4 kB / 411 MB, free: 15.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005851/0.3101, allocations: 384.8 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3101, allocations: 12.03 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.3102, allocations: 38.75 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.3102, allocations: 16.69 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3105, allocations: 196.1 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3105, allocations: 4.375 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3106, allocations: 8.375 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3109, allocations: 166.3 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3109, allocations: 7.938 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.311, allocations: 0 / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.311, allocations: 3.984 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3111, allocations: 39.91 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3115, allocations: 369.9 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.3118, allocations: 111.8 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.3119, allocations: 62.62 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3119, allocations: 7.922 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3119, allocations: 42.56 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3119, allocations: 0 / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004445/0.3124, allocations: 117.7 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.3125, allocations: 115 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3127, allocations: 133.8 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3127, allocations: 29.7 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.3127, allocations: 96.14 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.3128, allocations: 11.88 kB / 412.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.3128, allocations: 25.72 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3129, allocations: 326.8 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.313, allocations: 11.98 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.3131, allocations: 71.72 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3132, allocations: 87.59 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3132, allocations: 8 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.3134, allocations: 105.3 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3135, allocations: 10.81 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3135, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3135, allocations: 4 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.3136, allocations: 28.2 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3136, allocations: 11.98 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.3136, allocations: 7.984 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.3137, allocations: 4 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.947e-05/0.3138, allocations: 133.7 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3139, allocations: 69.59 kB / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.3139, allocations: 12.72 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3139, allocations: 0 / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.314, allocations: 4 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.314, allocations: 7.984 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3142, allocations: 189.4 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3142, allocations: 4 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-05/0.3143, allocations: 15.98 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3143, allocations: 4 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3143, allocations: 3.938 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3143, allocations: 192 / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3143, allocations: 4 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.3148, allocations: 312.2 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3149, allocations: 100.9 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3149, allocations: 3.984 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.315, allocations: 4 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.3151, allocations: 7.938 kB / 414.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3151, allocations: 8 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.3152, allocations: 107.2 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3152, allocations: 0 / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3154, allocations: 8 kB / 414.6 MB, free: 11.32 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 (10): * Single equations (assignments): 10 * 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.0006718/0.3161, allocations: 0.846 MB / 415.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.3163, allocations: 55.91 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3163, allocations: 0.5625 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.3164, allocations: 19.94 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.3168, allocations: 46.19 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3184, allocations: 1.589 MB / 417.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3187, allocations: 0.7002 MB / 417.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.079e-05/0.3187, allocations: 12.61 kB / 417.8 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.3188, allocations: 23.42 kB / 417.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3188, allocations: 0 / 417.8 MB, free: 7.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.3364, allocations: 1.897 MB / 419.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.481, allocations: 3.984 kB / 419.7 MB, free: 6.027 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches