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.00136/0.00136, allocations: 115.6 kB / 17.74 MB, free: 5.34 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.001336/0.001336, allocations: 184.1 kB / 18.67 MB, free: 4.418 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.5/1.5, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3365, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00338/0.3398, allocations: 1.582 MB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.3408, allocations: 486.7 kB / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.3409, allocations: 0 / 403.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.471e-05/0.341, allocations: 3.938 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.3411, allocations: 23.84 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3414, allocations: 49.83 kB / 403.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3416, allocations: 43.86 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3417, allocations: 16.17 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.3418, allocations: 27.84 kB / 403.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3418, allocations: 23.86 kB / 403.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3419, allocations: 0 / 403.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.3419, allocations: 4 kB / 403.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.3419, allocations: 11.94 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.342, allocations: 31.8 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3421, allocations: 51.55 kB / 403.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3422, allocations: 3.984 kB / 403.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3422, allocations: 3.938 kB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3422, allocations: 4 kB / 403.8 MB, free: 6.504 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.0005861/0.3428, allocations: 375.1 kB / 404.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3428, allocations: 8.031 kB / 404.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3428, allocations: 8.891 kB / 404.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.3432, allocations: 212.1 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3432, allocations: 384 / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.3432, allocations: 8.375 kB / 404.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.3435, allocations: 114 kB / 404.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3435, allocations: 0 / 404.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3435, allocations: 7.984 kB / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3435, allocations: 0 / 404.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.3436, allocations: 27.91 kB / 404.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.344, allocations: 274.6 kB / 404.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3441, allocations: 71.78 kB / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.3442, allocations: 26.64 kB / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3442, allocations: 4 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3443, allocations: 38.48 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3443, allocations: 3.938 kB / 404.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.3446, allocations: 85.66 kB / 405 MB, free: 5.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.3447, allocations: 106.8 kB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3448, allocations: 141.8 kB / 405.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3448, allocations: 25.7 kB / 405.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.3449, allocations: 92.14 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.3449, allocations: 3.953 kB / 405.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.345, allocations: 22 kB / 405.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3451, allocations: 318.8 kB / 405.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.3452, allocations: 15.98 kB / 405.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.3452, allocations: 31.38 kB / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3453, allocations: 51.36 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3453, allocations: 0 / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.3455, allocations: 69.56 kB / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3455, allocations: 8 kB / 405.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3455, allocations: 0 / 405.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3455, allocations: 4.125 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.3456, allocations: 11.98 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3456, allocations: 0 / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.3457, allocations: 7.938 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3457, allocations: 4 kB / 405.9 MB, free: 4.066 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 0.0001081/0.3458, allocations: 125.7 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3459, allocations: 49.66 kB / 406.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.3459, allocations: 11.86 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3459, allocations: 8 kB / 406.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3459, allocations: 8 kB / 406.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3459, allocations: 0 / 406.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3461, allocations: 173.6 kB / 406.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3461, allocations: 0 / 406.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.3462, allocations: 19.92 kB / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3462, allocations: 0 / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3462, allocations: 0 / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3462, allocations: 4 kB / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3462, allocations: 0 / 406.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3465, allocations: 177.1 kB / 406.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.3466, allocations: 93.05 kB / 406.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3467, allocations: 7.938 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3467, allocations: 4 kB / 406.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3468, allocations: 11.92 kB / 406.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.3468, allocations: 4 kB / 406.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.289e-05/0.3469, allocations: 109.8 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3469, allocations: 4 kB / 406.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3471, allocations: 4 kB / 406.7 MB, free: 3.16 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.0001395/0.3472, allocations: 104 kB / 406.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3474, allocations: 31.92 kB / 406.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.3474, allocations: 4.25 kB / 406.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.3474, allocations: 11.98 kB / 406.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3478, allocations: 19.97 kB / 406.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.3482, allocations: 184.5 kB / 407 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.3487, allocations: 0.6964 MB / 407.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.3487, allocations: 8.125 kB / 407.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.3487, allocations: 11.44 kB / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3487, allocations: 0 / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of Templates: time 0.003861/0.3526, allocations: 0.5986 MB / 408.4 MB, free: 1.434 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 -s gbode -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