Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 97.66 kB / 16.3 MB, free: 5.59 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.001844/0.001844, allocations: 182.3 kB / 17.19 MB, free: 5.527 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.259/1.259, allocations: 223.2 MB / 241.1 MB, free: 368 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 11.98 kB / 300.7 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09857, allocations: 50.4 MB / 351.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002122/0.1007, allocations: 1.249 MB / 352.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.1015, allocations: 443.2 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.1016, allocations: 4 kB / 352.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.1017, allocations: 4 kB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.1018, allocations: 7.922 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1021, allocations: 35.95 kB / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.1021, allocations: 31.91 kB / 352.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.1022, allocations: 11.98 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.1023, allocations: 19.86 kB / 352.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.1024, allocations: 23.86 kB / 352.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1024, allocations: 0 / 352.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.1024, allocations: 4 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.1025, allocations: 11.98 kB / 353 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1025, allocations: 33.64 kB / 353 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.69e-05/0.1026, allocations: 35.94 kB / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1026, allocations: 0 / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1026, allocations: 0 / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1026, allocations: 0 / 353 MB, free: 2.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005246/0.1031, allocations: 371.3 kB / 353.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1032, allocations: 12.03 kB / 353.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1032, allocations: 7.906 kB / 353.4 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1035, allocations: 199.7 kB / 353.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1035, allocations: 0 / 353.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.1036, allocations: 4 kB / 353.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1039, allocations: 113 kB / 353.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1039, allocations: 7.891 kB / 353.7 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1039, allocations: 0 / 353.7 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1039, allocations: 0 / 353.7 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.104, allocations: 23.98 kB / 353.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1044, allocations: 261.8 kB / 354 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.1045, allocations: 41.22 kB / 354.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1045, allocations: 7.938 kB / 354.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1045, allocations: 34.5 kB / 354.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1045, allocations: 8 kB / 354.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002521/0.1048, allocations: 73.58 kB / 354.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1049, allocations: 85.05 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1051, allocations: 137.1 kB / 354.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.1052, allocations: 25.7 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.1052, allocations: 88.39 kB / 354.5 MB, free: 424 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1053, allocations: 15.92 kB / 354.5 MB, free: 408 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.1053, allocations: 0 / 354.5 MB, free: 408 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1055, allocations: 310.8 kB / 354.8 MB, free: 88 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.1055, allocations: 11.98 kB / 354.8 MB, free: 76 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/0.1056, allocations: 21.72 kB / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.1056, allocations: 16.05 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1056, allocations: 0 / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.1058, allocations: 65.48 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1058, allocations: 4 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1058, allocations: 0 / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1059, allocations: 0 / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.1059, allocations: 16.05 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1059, allocations: 0 / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.106, allocations: 4 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.106, allocations: 0 / 355 MB, free: 15.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/0.1061, allocations: 113.8 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.1062, allocations: 53.48 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.1062, allocations: 7.875 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1062, allocations: 32 / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1062, allocations: 8 kB / 355.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1062, allocations: 3.984 kB / 355.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1064, allocations: 169.7 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1064, allocations: 3.938 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.1065, allocations: 7.984 kB / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1065, allocations: 3.953 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1065, allocations: 4 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1065, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1065, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.1067, allocations: 178 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.1068, allocations: 96.95 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1068, allocations: 3.984 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1069, allocations: 4.031 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.1069, allocations: 4 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1069, allocations: 0 / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.107, allocations: 109.8 kB / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.107, allocations: 0 / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1073, allocations: 11.94 kB / 355.7 MB, free: 15.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000101/0.1074, allocations: 91.25 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1075, allocations: 31.98 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1075, allocations: 3.938 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.1076, allocations: 11.98 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1078, allocations: 22.58 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.1082, allocations: 181.9 kB / 356.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1085, allocations: 0.6926 MB / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.1086, allocations: 0 / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1086, allocations: 11.44 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1086, allocations: 0 / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Templates: time 0.002449/0.1111, allocations: 465.3 kB / 357.2 MB, free: 13.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches