Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 112.7 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 242.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.64 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1115, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003198/0.1147, allocations: 1.605 MB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.1156, allocations: 0.5181 MB / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.961e-05/0.1158, allocations: 4 kB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.1158, allocations: 11.88 kB / 353.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.116, allocations: 11.86 kB / 353.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1162, allocations: 55.83 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1164, allocations: 59.78 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1165, allocations: 19.98 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.1166, allocations: 35.8 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.1166, allocations: 23.86 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1167, allocations: 4 kB / 353.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.1167, allocations: 4 kB / 353.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.1167, allocations: 15.92 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1168, allocations: 35.73 kB / 353.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1169, allocations: 67.72 kB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1169, allocations: 0 / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1169, allocations: 4 kB / 354 MB, free: 1.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1169, allocations: 0 / 354 MB, free: 1.195 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005374/0.1175, allocations: 387 kB / 354.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1175, allocations: 15.88 kB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1176, allocations: 16.75 kB / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1179, allocations: 208 kB / 354.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1179, allocations: 8.375 kB / 354.6 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1179, allocations: 4.375 kB / 354.6 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1182, allocations: 139 kB / 354.7 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1182, allocations: 0 / 354.7 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1183, allocations: 0 / 354.7 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1183, allocations: 7.984 kB / 354.7 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.1184, allocations: 27.92 kB / 354.8 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1187, allocations: 283.5 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1189, allocations: 98.41 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.119, allocations: 51.42 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.119, allocations: 11.91 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.119, allocations: 30.56 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1191, allocations: 4 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002986/0.1194, allocations: 101.4 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.1195, allocations: 141 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1196, allocations: 150.1 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1196, allocations: 29.7 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.1197, allocations: 88.14 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1197, allocations: 11.84 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1198, allocations: 21.7 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1199, allocations: 322.8 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/0.1199, allocations: 11.98 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.12, allocations: 53.08 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1202, allocations: 65.08 kB / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1202, allocations: 0 / 356.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001606/0.1203, allocations: 85.45 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1204, allocations: 4.188 kB / 356.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1204, allocations: 8 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1204, allocations: 0 / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.1205, allocations: 19.92 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1205, allocations: 0 / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.1206, allocations: 4 kB / 356.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1206, allocations: 4 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.712e-05/0.1207, allocations: 121.8 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.1208, allocations: 69.53 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.1208, allocations: 19.86 kB / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1209, allocations: 0 / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1209, allocations: 0 / 356.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1209, allocations: 4 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1211, allocations: 185.4 kB / 356.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1211, allocations: 0 / 356.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.1212, allocations: 16.06 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1212, allocations: 3.984 kB / 356.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1212, allocations: 4 kB / 356.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1212, allocations: 8.094 kB / 356.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1212, allocations: 0 / 356.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1214, allocations: 194 kB / 356.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1215, allocations: 93 kB / 357 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1216, allocations: 8 kB / 357 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.1216, allocations: 0 / 357 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1217, allocations: 11.92 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1217, allocations: 0 / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.1218, allocations: 119.2 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1218, allocations: 0 / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000241/0.122, allocations: 4 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001273/0.1222, allocations: 111.1 kB / 357.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.1223, allocations: 39.92 kB / 357.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1223, allocations: 4 kB / 357.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.1224, allocations: 11.92 kB / 357.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1228, allocations: 43.91 kB / 357.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.1232, allocations: 206.2 kB / 357.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1235, allocations: 0.6924 MB / 358.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.953e-05/0.1236, allocations: 8.656 kB / 358.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1236, allocations: 15.44 kB / 358.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1236, allocations: 0 / 358.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.003168/0.1268, allocations: 0.8347 MB / 359.1 MB, free: 11.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches