Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 104.4 kB / 17.74 MB, free: 5.352 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.00139/0.00139, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.579/1.579, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3392, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002981/0.3422, allocations: 1.587 MB / 403 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000891/0.3431, allocations: 478.7 kB / 403.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3432, allocations: 0 / 403.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.3433, allocations: 11.88 kB / 403.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3435, allocations: 7.938 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.3438, allocations: 55.8 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3439, allocations: 47.8 kB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.344, allocations: 20.11 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.3441, allocations: 15.94 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.3442, allocations: 23.84 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3442, allocations: 8 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.3442, allocations: 4 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.3443, allocations: 15.92 kB / 403.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.3443, allocations: 23.81 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3444, allocations: 59.73 kB / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3444, allocations: 0 / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3445, allocations: 0 / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3445, allocations: 0 / 403.7 MB, free: 6.543 MB / 318.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.0005284/0.345, allocations: 368.3 kB / 404.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.345, allocations: 20.02 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.3451, allocations: 8.844 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3453, allocations: 199.2 kB / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.3453, allocations: 384 / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3454, allocations: 8.375 kB / 404.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.3457, allocations: 122 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3457, allocations: 0 / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3457, allocations: 0 / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3457, allocations: 0 / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.3458, allocations: 23.92 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.3462, allocations: 278.6 kB / 404.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.3463, allocations: 71.77 kB / 404.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.3464, allocations: 30.62 kB / 404.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3464, allocations: 4 kB / 404.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3464, allocations: 38.5 kB / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.3464, allocations: 0 / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002771/0.3467, allocations: 89.45 kB / 405 MB, free: 5.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.3468, allocations: 111.2 kB / 405.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3469, allocations: 145.7 kB / 405.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3469, allocations: 29.7 kB / 405.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.347, allocations: 92.03 kB / 405.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.347, allocations: 4 kB / 405.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3471, allocations: 17.72 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3472, allocations: 318.8 kB / 405.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.3473, allocations: 15.98 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.875e-05/0.3473, allocations: 35.42 kB / 405.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.3474, allocations: 47.36 kB / 405.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3474, allocations: 4 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/0.3476, allocations: 69.52 kB / 405.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3476, allocations: 4 kB / 405.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3476, allocations: 7.938 kB / 405.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3476, allocations: 0 / 405.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.3477, allocations: 8 kB / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3477, allocations: 3.938 kB / 405.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.3478, allocations: 20.05 kB / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3478, allocations: 0 / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.433e-05/0.3479, allocations: 121.8 kB / 406 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.348, allocations: 53.53 kB / 406.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.348, allocations: 11.88 kB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.348, allocations: 0 / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.348, allocations: 4 kB / 406.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.348, allocations: 0 / 406.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3482, allocations: 173.6 kB / 406.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3482, allocations: 8.062 kB / 406.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.3483, allocations: 4 kB / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3483, allocations: 4 kB / 406.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3483, allocations: 0 / 406.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3483, allocations: 0 / 406.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3483, allocations: 4 kB / 406.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3485, allocations: 189 kB / 406.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.3486, allocations: 89 kB / 406.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3486, allocations: 0 / 406.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.3487, allocations: 11.94 kB / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3487, allocations: 4 kB / 406.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3487, allocations: 4 kB / 406.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.3488, allocations: 109.8 kB / 406.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3488, allocations: 0 / 406.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000224/0.3491, allocations: 12 kB / 406.7 MB, free: 3.203 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001121/0.3492, allocations: 99.98 kB / 406.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3493, allocations: 39.91 kB / 406.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3493, allocations: 0 / 406.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.3494, allocations: 4 kB / 406.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3497, allocations: 32.3 kB / 406.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.3501, allocations: 210.4 kB / 407.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3504, allocations: 0.6961 MB / 407.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.3505, allocations: 11.44 kB / 407.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3505, allocations: 0 / 407.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of Templates: time 0.002152/0.3526, allocations: 0.8346 MB / 408.6 MB, free: 1.211 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches