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.001417/0.001417, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.00145, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.86 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3057, allocations: 50.54 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003462/0.3092, allocations: 1.696 MB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.3098, allocations: 155.5 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3099, allocations: 3.938 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.078e-05/0.31, allocations: 7.875 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.3102, allocations: 11.94 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3105, allocations: 51.06 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3106, allocations: 51.91 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3107, allocations: 27.98 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.3108, allocations: 23.86 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.3109, allocations: 23.86 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3109, allocations: 8 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.3109, allocations: 4 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.311, allocations: 23.91 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.311, allocations: 35.73 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3112, allocations: 70.62 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3112, allocations: 0 / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3112, allocations: 0 / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3112, allocations: 0 / 411 MB, free: 15.27 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.0006129/0.3118, allocations: 395 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3119, allocations: 8.031 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.3119, allocations: 38.73 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.312, allocations: 12.89 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3123, allocations: 212.1 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3124, allocations: 8.359 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3124, allocations: 4.375 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.3128, allocations: 158.4 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3129, allocations: 7.875 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3129, allocations: 7.984 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3129, allocations: 0 / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.313, allocations: 27.98 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.3135, allocations: 377.8 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3138, allocations: 120 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3139, allocations: 50.56 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3139, allocations: 8 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.314, allocations: 38.5 kB / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.314, allocations: 3.938 kB / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003617/0.3143, allocations: 121.5 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.3144, allocations: 107.1 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3146, allocations: 145.8 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3146, allocations: 25.7 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3147, allocations: 92.08 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3147, allocations: 7.953 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.3148, allocations: 29.66 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3149, allocations: 322.8 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.315, allocations: 19.92 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.3151, allocations: 67.72 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3153, allocations: 95.59 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3153, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.3155, allocations: 113.4 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3155, allocations: 6.344 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3155, allocations: 4 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3155, allocations: 0 / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.3156, allocations: 23.92 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3156, allocations: 4 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.3157, allocations: 7.953 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3157, allocations: 8.281 kB / 413.6 MB, free: 12.3 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 0.0001139/0.3158, allocations: 129.8 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.316, allocations: 77.73 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.316, allocations: 12.7 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.316, allocations: 4 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3161, allocations: 0 / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3161, allocations: 0 / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3164, allocations: 193.5 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3164, allocations: 0 / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.938e-05/0.3165, allocations: 23.98 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3165, allocations: 0 / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3165, allocations: 4 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3165, allocations: 8 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3165, allocations: 0 / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.3169, allocations: 320.4 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.317, allocations: 96.98 kB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3171, allocations: 4 kB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.3172, allocations: 4 kB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3172, allocations: 7.984 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3172, allocations: 0 / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.3173, allocations: 103.3 kB / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3173, allocations: 0 / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3176, allocations: 16 kB / 414.6 MB, free: 11.2 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.0007261/0.3183, allocations: 0.8421 MB / 415.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3185, allocations: 63.84 kB / 415.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3186, allocations: 0 / 415.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.3186, allocations: 19.92 kB / 415.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3191, allocations: 46.17 kB / 415.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.321, allocations: 1.593 MB / 417.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3214, allocations: 0.6963 MB / 417.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.3215, allocations: 8.938 kB / 417.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.3215, allocations: 19.44 kB / 417.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3215, allocations: 0 / 417.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.3486, allocations: 1.88 MB / 419.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/8.901, allocations: 8.047 kB / 419.8 MB, free: 5.934 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.1.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