Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00165/0.00165, allocations: 119 kB / 17.78 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.001959/0.001959, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3403, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003493/0.3439, allocations: 1.624 MB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3452, allocations: 0.5842 MB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3453, allocations: 4 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.207e-05/0.3454, allocations: 7.875 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3455, allocations: 19.84 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.346, allocations: 59.81 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3461, allocations: 55.8 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3463, allocations: 28.14 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3464, allocations: 27.92 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.3465, allocations: 23.86 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3466, allocations: 7.938 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/0.3466, allocations: 15.98 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.3467, allocations: 15.92 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.3468, allocations: 35.73 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.347, allocations: 70.56 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.347, allocations: 4 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.347, allocations: 0 / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.347, allocations: 4 kB / 411.4 MB, free: 14.86 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006482/0.3477, allocations: 387 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.3477, allocations: 12.03 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.3478, allocations: 34.75 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.348, allocations: 24.83 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.3484, allocations: 220 kB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3484, allocations: 8.375 kB / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3485, allocations: 384 / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.3488, allocations: 138.8 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3489, allocations: 4 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3489, allocations: 8 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3489, allocations: 0 / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.349, allocations: 27.92 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.3495, allocations: 291.3 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.3497, allocations: 94.42 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.3498, allocations: 39.48 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3498, allocations: 8 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.3498, allocations: 42.48 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3499, allocations: 0 / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000383/0.3502, allocations: 97.97 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3504, allocations: 136.5 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3506, allocations: 151.7 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3506, allocations: 29.7 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.3507, allocations: 92.12 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3507, allocations: 7.953 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.3508, allocations: 17.72 kB / 413.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.351, allocations: 330.8 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.3511, allocations: 11.98 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.3512, allocations: 49.08 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3513, allocations: 65.08 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3513, allocations: 0 / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001688/0.3515, allocations: 85.78 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3515, allocations: 12.03 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3515, allocations: 7.938 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3516, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.377e-05/0.3517, allocations: 12 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3517, allocations: 7.922 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.3518, allocations: 4 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.3518, allocations: 4 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001571/0.3519, allocations: 133.7 kB / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3521, allocations: 73.53 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.3521, allocations: 23.8 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3521, allocations: 0 / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3521, allocations: 4 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3522, allocations: 0 / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3524, allocations: 177.6 kB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3524, allocations: 0 / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.3525, allocations: 12 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3525, allocations: 3.984 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3525, allocations: 4.094 kB / 414.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3525, allocations: 4 kB / 414.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3525, allocations: 0 / 414.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.3528, allocations: 198 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.3529, allocations: 101 kB / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3529, allocations: 0 / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.353, allocations: 4 kB / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.353, allocations: 7.984 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.353, allocations: 4 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.418e-05/0.3531, allocations: 114.3 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3531, allocations: 0 / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3534, allocations: 12 kB / 414.7 MB, free: 11.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0007534/0.3541, allocations: 0.7343 MB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3543, allocations: 48.03 kB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.3543, allocations: 0 / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.3543, allocations: 11.94 kB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3547, allocations: 53.67 kB / 415.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3567, allocations: 1.498 MB / 417 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.3572, allocations: 0.6963 MB / 417.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.3573, allocations: 8.656 kB / 417.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.3573, allocations: 27.38 kB / 417.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3573, allocations: 0 / 417.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.3839, allocations: 2.063 MB / 419.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.721/9.105, allocations: 0 / 419.8 MB, free: 5.926 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches