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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 172.8 kB / 16.76 MB, free: 5.059 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.393/1.393, allocations: 205 MB / 222.5 MB, free: 9.074 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.000986/0.000986, allocations: 97.62 kB / 270.5 MB, free: 8.656 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.06906/0.06906, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08783, allocations: 49.97 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.00151/0.08937, allocations: 1.294 MB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.09012, allocations: 0.523 MB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.09023, allocations: 0 / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.09029, allocations: 11.92 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.0904, allocations: 11.94 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.09065, allocations: 35.89 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.09073, allocations: 51.78 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.09082, allocations: 12.17 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.0909, allocations: 27.92 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.09095, allocations: 15.86 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.09097, allocations: 4 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.09099, allocations: 4 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.09103, allocations: 15.92 kB / 443.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.09106, allocations: 23.8 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.895e-05/0.09113, allocations: 31.95 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.09114, allocations: 0 / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09114, allocations: 0 / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.09115, allocations: 0 / 443.7 MB, free: 14.32 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.000306/0.09146, allocations: 371.4 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.0915, allocations: 12.03 kB / 444.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.09154, allocations: 12.84 kB / 444.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.09169, allocations: 204 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-06/0.0917, allocations: 384 / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.09172, allocations: 4.375 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.09192, allocations: 126 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.09194, allocations: 0 / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.09195, allocations: 0 / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.09196, allocations: 4 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.09204, allocations: 27.92 kB / 444.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.09226, allocations: 278.6 kB / 444.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.09235, allocations: 63.8 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.09242, allocations: 38.62 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.09244, allocations: 4 kB / 444.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.09246, allocations: 38.48 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.09247, allocations: 0 / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002119/0.09268, allocations: 93.7 kB / 445 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.09273, allocations: 106.8 kB / 445.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.09282, allocations: 137.6 kB / 445.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.09283, allocations: 33.64 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.09286, allocations: 92.12 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.09288, allocations: 4.094 kB / 445.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.09292, allocations: 17.72 kB / 445.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.09297, allocations: 322.8 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.09302, allocations: 11.94 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.09306, allocations: 35.42 kB / 445.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.987e-05/0.09315, allocations: 55.36 kB / 445.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09316, allocations: 0 / 445.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001196/0.09328, allocations: 81.52 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.0933, allocations: 4 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.09331, allocations: 0 / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.09333, allocations: 4 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.09339, allocations: 8 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.0934, allocations: 3.938 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.09345, allocations: 7.984 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.09346, allocations: 0 / 445.9 MB, free: 11.86 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.538e-05/0.09352, allocations: 126.8 kB / 446 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.09359, allocations: 49.59 kB / 446.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.09362, allocations: 19.77 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.09363, allocations: 0 / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.09364, allocations: 4 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.09365, allocations: 0 / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.09377, allocations: 181.6 kB / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09378, allocations: 0 / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.09384, allocations: 12.06 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.09385, allocations: 0 / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.09386, allocations: 3.984 kB / 446.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.09387, allocations: 7.938 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09387, allocations: 0 / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.09402, allocations: 197.1 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.09407, allocations: 89 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.09409, allocations: 8 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.09416, allocations: 0 / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.09419, allocations: 4 kB / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.0942, allocations: 0 / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.09425, allocations: 111.2 kB / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09426, allocations: 0 / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.09447, allocations: 7.938 kB / 446.7 MB, free: 10.95 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 6.813e-05/0.09454, allocations: 95.25 kB / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.09466, allocations: 43.91 kB / 446.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.09467, allocations: 3.938 kB / 446.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.09471, allocations: 8.25 kB / 446.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.09503, allocations: 36.02 kB / 446.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.09533, allocations: 220 kB / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.09549, allocations: 0.7006 MB / 447.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.09553, allocations: 7.438 kB / 447.8 MB, free: 9.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.09553, allocations: 0 / 447.8 MB, free: 9.77 MB / 298.7 MB Notification: Performance of Templates: time 0.001732/0.09727, allocations: 0.8274 MB / 448.6 MB, free: 8.945 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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