Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001033, allocations: 173.7 kB / 16.11 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205 MB / 221.9 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008266/0.0008268, allocations: 90.31 kB / 269.9 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06941/0.06941, allocations: 12.57 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08066, allocations: 49.97 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001407/0.08211, allocations: 1.332 MB / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.08278, allocations: 0.5424 MB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.08287, allocations: 4 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.08293, allocations: 3.938 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.08306, allocations: 15.86 kB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.0833, allocations: 47.89 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.08339, allocations: 59.78 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.08349, allocations: 12 kB / 443.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.08355, allocations: 23.86 kB / 443.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.08361, allocations: 23.84 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.08364, allocations: 8 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.08366, allocations: 0 / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.08371, allocations: 15.92 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.08374, allocations: 27.75 kB / 443.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.691e-05/0.08383, allocations: 59.95 kB / 443.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.08384, allocations: 4 kB / 443.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08384, allocations: 0 / 443.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.08385, allocations: 0 / 443.3 MB, free: 14.11 MB / 298.7 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.000351/0.08421, allocations: 375.1 kB / 443.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.08425, allocations: 12.03 kB / 443.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.08428, allocations: 42.75 kB / 443.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.08431, allocations: 8.844 kB / 443.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.08445, allocations: 208 kB / 443.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.08447, allocations: 4.375 kB / 444 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.08448, allocations: 4.375 kB / 444 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.08471, allocations: 150.7 kB / 444.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.08472, allocations: 0 / 444.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.08474, allocations: 3.984 kB / 444.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.08475, allocations: 4 kB / 444.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.08483, allocations: 27.92 kB / 444.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.08506, allocations: 287.5 kB / 444.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.435e-05/0.08516, allocations: 102.4 kB / 444.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.08523, allocations: 47.48 kB / 444.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.08526, allocations: 0 / 444.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.08528, allocations: 38.56 kB / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.08529, allocations: 3.938 kB / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002334/0.08553, allocations: 101.4 kB / 444.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.08557, allocations: 148.9 kB / 444.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.08566, allocations: 154.3 kB / 445 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.08568, allocations: 25.7 kB / 445 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.08571, allocations: 88.14 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.08573, allocations: 4 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.08576, allocations: 9.719 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.08581, allocations: 326.8 kB / 445.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.08586, allocations: 19.98 kB / 445.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.08593, allocations: 49.14 kB / 445.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.08603, allocations: 69.08 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.08604, allocations: 7.875 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001249/0.08617, allocations: 93.45 kB / 445.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.08619, allocations: 4 kB / 445.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.0862, allocations: 0 / 445.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.08622, allocations: 4 kB / 445.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.0863, allocations: 12 kB / 445.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.08631, allocations: 0 / 445.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.08636, allocations: 11.92 kB / 445.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.08637, allocations: 4.188 kB / 445.7 MB, free: 11.36 MB / 298.7 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 5.562e-05/0.08644, allocations: 125.8 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.08652, allocations: 65.53 kB / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.08655, allocations: 19.81 kB / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.08656, allocations: 3.938 kB / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.08657, allocations: 0 / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.08657, allocations: 4 kB / 445.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.08671, allocations: 185.5 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.08672, allocations: 0 / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.08679, allocations: 20.03 kB / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.0868, allocations: 0 / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.08681, allocations: 7.984 kB / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.08681, allocations: 128 / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.08682, allocations: 4 kB / 446.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.08697, allocations: 205.9 kB / 446.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.08701, allocations: 97 kB / 446.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.08704, allocations: 0 / 446.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.08711, allocations: 4 kB / 446.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.08714, allocations: 3.984 kB / 446.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.08715, allocations: 4 kB / 446.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.0872, allocations: 123.1 kB / 446.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08721, allocations: 0 / 446.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.08742, allocations: 8 kB / 446.6 MB, free: 10.39 MB / 298.7 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.0002839/0.08771, allocations: 0.7304 MB / 447.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.08785, allocations: 43.92 kB / 447.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08786, allocations: 0 / 447.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.0879, allocations: 16.36 kB / 447.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.08828, allocations: 43.97 kB / 447.4 MB, free: 9.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.08929, allocations: 1.512 MB / 448.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.08942, allocations: 0.6965 MB / 449.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.08946, allocations: 12.64 kB / 449.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.0895, allocations: 19.44 kB / 449.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.0895, allocations: 0 / 449.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009756/0.09927, allocations: 1.789 MB / 451.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.09946, allocations: 225.9 kB / 451.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.125, allocations: 0 / 451.7 MB, free: 5.078 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches