Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008273, allocations: 93.81 kB / 18 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 207.5 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002803, allocations: 8.281 kB / 308.4 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 51.53 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001924/0.115, allocations: 1.278 MB / 361.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1161, allocations: 0.5378 MB / 361.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.1162, allocations: 3.938 kB / 361.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.1162, allocations: 0 / 361.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.1164, allocations: 11.94 kB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1167, allocations: 51.83 kB / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.1168, allocations: 55.77 kB / 361.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1169, allocations: 16.17 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1171, allocations: 23.92 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.1172, allocations: 19.84 kB / 361.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1172, allocations: 4 kB / 361.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.1172, allocations: 8 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.1173, allocations: 7.938 kB / 361.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1173, allocations: 49.5 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.691e-05/0.1174, allocations: 47.86 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1174, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1175, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1175, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 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.0004648/0.1179, allocations: 375.4 kB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.118, allocations: 12.03 kB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.1182, allocations: 24.83 kB / 362.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1184, allocations: 192.7 kB / 362.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1184, allocations: 4.375 kB / 362.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1184, allocations: 7.938 kB / 362.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.1187, allocations: 105 kB / 362.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1187, allocations: 7.922 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1187, allocations: 4 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.1187, allocations: 4 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.1188, allocations: 23.92 kB / 362.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1191, allocations: 261.8 kB / 363 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.1192, allocations: 49.16 kB / 363.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.1193, allocations: 25.7 kB / 363.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1193, allocations: 4 kB / 363.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1194, allocations: 34.56 kB / 363.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1194, allocations: 4 kB / 363.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002551/0.1196, allocations: 73.52 kB / 363.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1197, allocations: 77.11 kB / 363.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1198, allocations: 153.7 kB / 363.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1198, allocations: 25.95 kB / 363.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.1199, allocations: 96.08 kB / 363.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.1199, allocations: 3.906 kB / 363.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.1199, allocations: 9.719 kB / 363.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.12, allocations: 322.8 kB / 363.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.1201, allocations: 4 kB / 363.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.1201, allocations: 33.64 kB / 363.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.1202, allocations: 33.7 kB / 364 MB, free: 8.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1203, allocations: 0 / 364 MB, free: 8.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000132/0.1204, allocations: 57.72 kB / 364 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1204, allocations: 8.031 kB / 364 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1204, allocations: 4 kB / 364 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1204, allocations: 0 / 364 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1205, allocations: 7.984 kB / 364 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1205, allocations: 0 / 364 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.1206, allocations: 11.84 kB / 364 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1206, allocations: 0 / 364 MB, free: 8.875 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.532e-05/0.1207, allocations: 121.8 kB / 364.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.1207, allocations: 41.64 kB / 364.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.1208, allocations: 11.88 kB / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1208, allocations: 0 / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1208, allocations: 4 kB / 364.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1208, allocations: 3.938 kB / 364.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.121, allocations: 165.6 kB / 364.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.121, allocations: 3.984 kB / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.121, allocations: 12 kB / 364.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.121, allocations: 0 / 364.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1211, allocations: 4.031 kB / 364.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1211, allocations: 0 / 364.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1211, allocations: 15.88 kB / 364.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1212, allocations: 156.3 kB / 364.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.1213, allocations: 93 kB / 364.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1213, allocations: 11.97 kB / 364.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1214, allocations: 0 / 364.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1215, allocations: 7.938 kB / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1215, allocations: 0 / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.795e-05/0.1215, allocations: 114.8 kB / 364.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 364.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1218, allocations: 4 kB / 364.8 MB, free: 8.016 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.159e-05/0.1219, allocations: 103.2 kB / 364.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.122, allocations: 23.97 kB / 364.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.122, allocations: 0 / 364.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.1221, allocations: 15.94 kB / 364.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1224, allocations: 19.95 kB / 365 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.1228, allocations: 219.4 kB / 365.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1231, allocations: 0.6887 MB / 365.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1231, allocations: 7.438 kB / 365.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1231, allocations: 0 / 365.9 MB, free: 6.871 MB / 302.1 MB Notification: Performance of Templates: time 0.002242/0.1254, allocations: 0.7795 MB / 366.6 MB, free: 6.098 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches