Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample",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.001158/0.001158, allocations: 174.3 kB / 16.11 MB, free: 5.695 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.419/1.419, allocations: 205 MB / 221.9 MB, free: 9.148 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.0008399/0.0008398, allocations: 92.19 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.08117/0.08117, allocations: 12.57 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003466, allocations: 16 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08044, allocations: 49.97 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.001541/0.08203, allocations: 1.301 MB / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.08276, allocations: 0.5152 MB / 443 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.08287, allocations: 4 kB / 443 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.08293, allocations: 7.938 kB / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.08308, allocations: 7.922 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.08338, allocations: 43.89 kB / 443 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.08348, allocations: 47.8 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.08359, allocations: 16.17 kB / 443.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.08367, allocations: 11.94 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.08373, allocations: 27.84 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.08376, allocations: 4 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.08377, allocations: 0 / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.08383, allocations: 11.92 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.08387, allocations: 27.81 kB / 443.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.08397, allocations: 52.02 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.08398, allocations: 0 / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08399, allocations: 0 / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.084, allocations: 0 / 443.2 MB, free: 14.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004128/0.08442, allocations: 375.1 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.08447, allocations: 8.031 kB / 443.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.08451, allocations: 38.75 kB / 443.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.08455, allocations: 8.844 kB / 443.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.08472, allocations: 196.1 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.08474, allocations: 8.375 kB / 443.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-06/0.08476, allocations: 4.312 kB / 443.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.08502, allocations: 125.8 kB / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.08504, allocations: 0 / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.08506, allocations: 4 kB / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.08507, allocations: 3.984 kB / 444 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.08517, allocations: 27.92 kB / 444 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.08548, allocations: 278.5 kB / 444.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.08559, allocations: 67.8 kB / 444.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.08566, allocations: 42.56 kB / 444.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.08569, allocations: 0 / 444.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.08572, allocations: 34.56 kB / 444.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.08572, allocations: 0 / 444.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002494/0.08598, allocations: 97.5 kB / 444.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.08602, allocations: 106.8 kB / 444.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.08612, allocations: 145.6 kB / 444.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.08613, allocations: 25.7 kB / 444.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.08617, allocations: 96.41 kB / 444.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.08619, allocations: 4 kB / 444.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.08622, allocations: 13.72 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.08627, allocations: 318.8 kB / 445.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.08632, allocations: 12 kB / 445.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.08636, allocations: 35.42 kB / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.772e-05/0.08645, allocations: 55.36 kB / 445.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.08646, allocations: 0 / 445.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.08658, allocations: 77.52 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.0866, allocations: 4 kB / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.08661, allocations: 4 kB / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.08663, allocations: 0 / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.08671, allocations: 11.94 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.08672, allocations: 0 / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.08677, allocations: 7.984 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.08678, allocations: 8.125 kB / 445.4 MB, free: 11.69 MB / 298.7 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 5.849e-05/0.08684, allocations: 122.7 kB / 445.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.08691, allocations: 53.53 kB / 445.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.08695, allocations: 11.83 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.08695, allocations: 4 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.08696, allocations: 0 / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.08697, allocations: 0 / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.0871, allocations: 177.6 kB / 445.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.08711, allocations: 4.062 kB / 445.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.08717, allocations: 12 kB / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.08718, allocations: 0 / 445.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.0872, allocations: 11.88 kB / 445.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.08721, allocations: 7.984 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.08721, allocations: 0 / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.08737, allocations: 185 kB / 446 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.08742, allocations: 100.9 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.08744, allocations: 0 / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.08751, allocations: 4 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.08755, allocations: 0 / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.08756, allocations: 4 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.988e-05/0.08762, allocations: 111.2 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08762, allocations: 4 kB / 446.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.08784, allocations: 8 kB / 446.2 MB, free: 10.78 MB / 298.7 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 (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.0003441/0.08819, allocations: 0.7101 MB / 446.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.08833, allocations: 39.91 kB / 447 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.08834, allocations: 0 / 447 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.08838, allocations: 8 kB / 447 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.08875, allocations: 28.52 kB / 447 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.08972, allocations: 1.422 MB / 448.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.08986, allocations: 0.6887 MB / 449.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.0899, allocations: 4 kB / 449.1 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.08995, allocations: 15.42 kB / 449.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.08995, allocations: 0 / 449.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0102/0.1002, allocations: 1.493 MB / 450.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.1004, allocations: 231.2 kB / 450.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/1.893, allocations: 8 kB / 450.9 MB, free: 5.938 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches