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.00121/0.00121, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 56.34 kB / 306.9 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 50.53 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003444/0.1155, allocations: 1.559 MB / 359 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1166, allocations: 0.5532 MB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.1167, allocations: 4 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.1168, allocations: 3.938 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1169, allocations: 15.86 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1173, allocations: 59.81 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1174, allocations: 47.8 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1175, allocations: 20.16 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1177, allocations: 35.84 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.1177, allocations: 27.86 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1178, allocations: 4 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.1178, allocations: 4 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.1179, allocations: 11.94 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.1179, allocations: 31.8 kB / 359.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1181, allocations: 63.67 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1181, allocations: 0 / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1181, allocations: 0 / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1181, allocations: 0 / 359.9 MB, free: 11.61 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.0005018/0.1186, allocations: 383.3 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1187, allocations: 8.031 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1188, allocations: 24.77 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.119, allocations: 199.7 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1191, allocations: 8.375 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1191, allocations: 3.938 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.1193, allocations: 113 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1194, allocations: 3.984 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1194, allocations: 0 / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1194, allocations: 0 / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.1195, allocations: 19.98 kB / 360.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1199, allocations: 269.7 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.12, allocations: 37.22 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.12, allocations: 25.77 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1201, allocations: 0 / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1201, allocations: 42.5 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1201, allocations: 0 / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002383/0.1203, allocations: 73.52 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1204, allocations: 77.11 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1206, allocations: 149.7 kB / 361.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1206, allocations: 25.7 kB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.1206, allocations: 96.33 kB / 361.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1207, allocations: 7.906 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1207, allocations: 17.7 kB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1209, allocations: 314.8 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.1209, allocations: 4 kB / 361.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.121, allocations: 25.7 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.1211, allocations: 37.7 kB / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1211, allocations: 0 / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.1212, allocations: 53.59 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1212, allocations: 6.812 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1212, allocations: 0 / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1212, allocations: 11.92 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.1213, allocations: 7.938 kB / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1213, allocations: 64 / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.1214, allocations: 7.938 kB / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1214, allocations: 4 kB / 361.9 MB, free: 9.332 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 9.862e-05/0.1215, allocations: 121.8 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.1216, allocations: 41.55 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.1216, allocations: 15.86 kB / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1216, allocations: 0 / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1216, allocations: 0 / 362.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1216, allocations: 3.938 kB / 362.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1218, allocations: 173.7 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1218, allocations: 0 / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.1219, allocations: 4 kB / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1219, allocations: 0 / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1219, allocations: 0 / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1219, allocations: 7.938 kB / 362.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1219, allocations: 0 / 362.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1221, allocations: 160.2 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1222, allocations: 97 kB / 362.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1222, allocations: 0 / 362.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.315e-05/0.1222, allocations: 0 / 362.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1223, allocations: 11.92 kB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1223, allocations: 0 / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.441e-05/0.1224, allocations: 108.4 kB / 362.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1224, allocations: 0 / 362.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1226, allocations: 8 kB / 362.6 MB, free: 8.488 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.243e-05/0.1227, allocations: 103.3 kB / 362.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1229, allocations: 23.92 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1229, allocations: 0 / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.1229, allocations: 4 kB / 362.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1233, allocations: 24.02 kB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.1237, allocations: 163.7 kB / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1241, allocations: 0.6909 MB / 363.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.45e-05/0.1241, allocations: 4 kB / 363.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1242, allocations: 15.42 kB / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1242, allocations: 3.938 kB / 363.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of Templates: time 0.002956/0.1271, allocations: 0.5721 MB / 364.2 MB, free: 6.844 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