Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001312, allocations: 204.9 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.03 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3331, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.006101/0.3394, allocations: 1.55 MB / 411.5 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3414, allocations: 0.522 MB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.3416, allocations: 7.938 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.552e-05/0.3418, allocations: 7.938 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.3421, allocations: 15.86 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006844/0.3428, allocations: 55.81 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.343, allocations: 39.86 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3432, allocations: 16.17 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.3435, allocations: 43.84 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3436, allocations: 19.86 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.3436, allocations: 4 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.3437, allocations: 4 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.248e-05/0.3438, allocations: 15.92 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.3439, allocations: 27.81 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3442, allocations: 59.73 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.3442, allocations: 0 / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.3442, allocations: 0 / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3442, allocations: 0 / 412.3 MB, free: 15.19 MB / 334.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.001049/0.3453, allocations: 376.3 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.12e-05/0.3454, allocations: 8.031 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.3457, allocations: 24.83 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3463, allocations: 206.2 kB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3463, allocations: 4.375 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3463, allocations: 4.375 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.3469, allocations: 109.2 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3469, allocations: 0 / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.3469, allocations: 4 kB / 413 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.347, allocations: 0 / 413 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3471, allocations: 27.86 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.3477, allocations: 269.7 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.3479, allocations: 49.2 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.348, allocations: 17.72 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.348, allocations: 0 / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/0.3481, allocations: 42.55 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.3481, allocations: 0 / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004489/0.3486, allocations: 61.62 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.3488, allocations: 85.09 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.349, allocations: 133.8 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3491, allocations: 25.95 kB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3492, allocations: 104 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3492, allocations: 3.984 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.3493, allocations: 13.72 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3495, allocations: 318.8 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.3496, allocations: 7.984 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.3497, allocations: 21.72 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3498, allocations: 33.7 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3498, allocations: 0 / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.3501, allocations: 61.52 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3501, allocations: 4 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3501, allocations: 0 / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.3502, allocations: 4 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3503, allocations: 8.062 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3503, allocations: 0 / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.3504, allocations: 3.984 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3504, allocations: 4 kB / 414.3 MB, free: 12.93 MB / 334.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 0.000197/0.3506, allocations: 125.7 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3507, allocations: 41.61 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.3508, allocations: 11.81 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3508, allocations: 4 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3509, allocations: 4.031 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3509, allocations: 3.938 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3512, allocations: 169.6 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3512, allocations: 7.938 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.3513, allocations: 4 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3513, allocations: 3.938 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3513, allocations: 3.984 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3513, allocations: 0 / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3514, allocations: 4 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3517, allocations: 160.2 kB / 414.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.3519, allocations: 93 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3519, allocations: 4 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.352, allocations: 7.984 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.3521, allocations: 0 / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3521, allocations: 4 kB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.3523, allocations: 118 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3523, allocations: 0 / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.3527, allocations: 4 kB / 415.1 MB, free: 12.07 MB / 334.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.0002731/0.353, allocations: 95.25 kB / 415.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3533, allocations: 19.98 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3533, allocations: 4 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.3533, allocations: 4.125 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.354, allocations: 27.95 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.3546, allocations: 189.3 kB / 415.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.3553, allocations: 0.6885 MB / 416.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.3554, allocations: 7.438 kB / 416.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of SimCode: time 7.204e-06/0.3595, allocations: 0 / 416.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Templates: time 0.004656/0.3642, allocations: 0.767 MB / 416.8 MB, free: 10.21 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches