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.001088/0.001088, allocations: 103.5 kB / 16.51 MB, free: 6.641 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.001293/0.001293, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.265/1.265, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 47.92 kB / 299.9 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09158, allocations: 49.45 MB / 349.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003357/0.09497, allocations: 1.6 MB / 351 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000917/0.09593, allocations: 470.8 kB / 351.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.09605, allocations: 0 / 351.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.09612, allocations: 3.938 kB / 351.5 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.09628, allocations: 11.92 kB / 351.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.09658, allocations: 47.89 kB / 351.5 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.09669, allocations: 39.8 kB / 351.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.0968, allocations: 16 kB / 351.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.09688, allocations: 15.92 kB / 351.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.09696, allocations: 27.84 kB / 351.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.09698, allocations: 0 / 351.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.097, allocations: 4 kB / 351.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.09706, allocations: 15.98 kB / 351.6 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.09711, allocations: 23.75 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.09721, allocations: 51.8 kB / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.09722, allocations: 0 / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.09723, allocations: 0 / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09724, allocations: 3.938 kB / 351.7 MB, free: 2.531 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.0004738/0.09772, allocations: 385.8 kB / 352.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.09777, allocations: 8.031 kB / 352.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.09782, allocations: 12.83 kB / 352.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.09802, allocations: 196.2 kB / 352.3 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.09804, allocations: 8.312 kB / 352.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.09806, allocations: 4.375 kB / 352.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.09834, allocations: 109.3 kB / 352.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.09836, allocations: 0 / 352.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.09838, allocations: 0 / 352.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.09839, allocations: 4 kB / 352.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.09847, allocations: 19.98 kB / 352.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.09881, allocations: 273.6 kB / 352.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.09891, allocations: 41.22 kB / 352.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.09897, allocations: 25.7 kB / 352.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.099, allocations: 0 / 352.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.09903, allocations: 34.56 kB / 352.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.09904, allocations: 0 / 352.8 MB, free: 1.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002681/0.09931, allocations: 69.83 kB / 352.9 MB, free: 1.172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.09938, allocations: 77.11 kB / 353 MB, free: 1.078 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.09951, allocations: 137.4 kB / 353.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.09953, allocations: 29.7 kB / 353.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.09959, allocations: 96.03 kB / 353.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.09961, allocations: 3.938 kB / 353.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.09966, allocations: 13.72 kB / 353.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.09978, allocations: 318.8 kB / 353.5 MB, free: 472 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.09984, allocations: 12.03 kB / 353.6 MB, free: 460 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.09989, allocations: 17.7 kB / 353.6 MB, free: 436 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.09998, allocations: 37.58 kB / 353.6 MB, free: 392 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09998, allocations: 0 / 353.6 MB, free: 392 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001218/0.1001, allocations: 61.59 kB / 353.7 MB, free: 324 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1001, allocations: 6.969 kB / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1001, allocations: 4 kB / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1002, allocations: 0 / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.1002, allocations: 7.984 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1003, allocations: 0 / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.1003, allocations: 4 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1003, allocations: 0 / 353.7 MB, free: 304 kB / 286.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.745e-05/0.1004, allocations: 121.8 kB / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1005, allocations: 45.59 kB / 353.9 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.1005, allocations: 7.875 kB / 353.9 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1005, allocations: 3.938 kB / 353.9 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1005, allocations: 3.938 kB / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1005, allocations: 0 / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1007, allocations: 169.6 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1007, allocations: 4 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.1008, allocations: 11.92 kB / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1008, allocations: 0 / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1008, allocations: 4.031 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1008, allocations: 0 / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1008, allocations: 4 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.101, allocations: 156.2 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.1011, allocations: 93 kB / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1011, allocations: 7.984 kB / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1012, allocations: 8.031 kB / 354.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.1012, allocations: 0 / 354.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1012, allocations: 4 kB / 354.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.1013, allocations: 107.2 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1013, allocations: 0 / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1015, allocations: 4 kB / 354.4 MB, free: 15.45 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 0.0001007/0.1016, allocations: 103.1 kB / 354.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1017, allocations: 23.98 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1018, allocations: 0 / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.1018, allocations: 11.98 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1022, allocations: 19.91 kB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1025, allocations: 181.5 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1027, allocations: 0.6887 MB / 355.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.1028, allocations: 3.984 kB / 355.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1028, allocations: 11.44 kB / 355.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1028, allocations: 0 / 355.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Templates: time 0.002404/0.1052, allocations: 486 kB / 355.9 MB, free: 13.88 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches