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.0008657/0.0008657, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 4 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 51.53 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001814/0.1138, allocations: 1.27 MB / 360.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.1147, allocations: 0.5417 MB / 361.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.1148, allocations: 7.938 kB / 361.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.1149, allocations: 3.984 kB / 361.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.115, allocations: 3.938 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1153, allocations: 59.81 kB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.1154, allocations: 43.8 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1155, allocations: 28.14 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1156, allocations: 15.94 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.1157, allocations: 27.84 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1157, allocations: 0 / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.085e-05/0.1158, allocations: 4 kB / 361.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.1158, allocations: 15.92 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1159, allocations: 49.52 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.116, allocations: 55.72 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.116, allocations: 0 / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.116, allocations: 4 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.116, allocations: 0 / 361.4 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.0004446/0.1165, allocations: 371.5 kB / 361.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1165, allocations: 12.03 kB / 361.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1167, allocations: 24.77 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1169, allocations: 196.7 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1169, allocations: 4.375 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1169, allocations: 11.94 kB / 362 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.1172, allocations: 105 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1172, allocations: 4 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1172, allocations: 4 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1172, allocations: 0 / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.1173, allocations: 27.92 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.1176, allocations: 265.7 kB / 362.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.1177, allocations: 53.22 kB / 362.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1178, allocations: 17.7 kB / 362.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1178, allocations: 4 kB / 362.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1178, allocations: 34.56 kB / 362.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1178, allocations: 0 / 362.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002293/0.1181, allocations: 77.61 kB / 362.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1181, allocations: 77.11 kB / 362.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1182, allocations: 153.7 kB / 362.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1183, allocations: 25.7 kB / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.1183, allocations: 92.08 kB / 362.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1183, allocations: 4.062 kB / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.1184, allocations: 13.72 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.1185, allocations: 322.8 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.1185, allocations: 4 kB / 363.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.1186, allocations: 25.7 kB / 363.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.1186, allocations: 37.7 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1186, allocations: 0 / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.1188, allocations: 57.62 kB / 363.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1188, allocations: 4 kB / 363.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1188, allocations: 4 kB / 363.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1188, allocations: 4.062 kB / 363.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.1189, allocations: 7.984 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1189, allocations: 3.938 kB / 363.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.1189, allocations: 15.84 kB / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.119, allocations: 0 / 363.4 MB, free: 8.871 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.175e-05/0.119, allocations: 117.8 kB / 363.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.1191, allocations: 37.69 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.1191, allocations: 11.91 kB / 363.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1191, allocations: 0 / 363.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1191, allocations: 7.938 kB / 363.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1192, allocations: 3.938 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1193, allocations: 169.6 kB / 363.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1193, allocations: 0 / 363.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.1194, allocations: 11.98 kB / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1194, allocations: 0 / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1194, allocations: 0 / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1194, allocations: 0 / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1194, allocations: 4 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1196, allocations: 164.3 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1196, allocations: 93 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1196, allocations: 4 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.1197, allocations: 3.969 kB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1197, allocations: 15.88 kB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1198, allocations: 0 / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.1198, allocations: 114.6 kB / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1198, allocations: 0 / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1201, allocations: 4 kB / 364.1 MB, free: 8.02 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 8.785e-05/0.1202, allocations: 95.25 kB / 364.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1203, allocations: 27.98 kB / 364.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1203, allocations: 0 / 364.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.1203, allocations: 15.98 kB / 364.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1207, allocations: 26.17 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.121, allocations: 197.6 kB / 364.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1213, allocations: 0.6887 MB / 365.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.1213, allocations: 4 kB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1213, allocations: 11.44 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1213, allocations: 0 / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of Templates: time 0.002526/0.1239, allocations: 0.5199 MB / 365.7 MB, free: 6.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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