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.001191/0.001191, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001345/0.001345, allocations: 200 kB / 18.01 MB, free: 5.055 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3391, allocations: 49.42 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002817/0.3419, allocations: 1.591 MB / 402.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.3427, allocations: 470.7 kB / 402.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.3428, allocations: 3.938 kB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.153e-05/0.3429, allocations: 11.92 kB / 402.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.343, allocations: 15.92 kB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3433, allocations: 51.2 kB / 402.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3434, allocations: 51.78 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3435, allocations: 12.19 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.3436, allocations: 23.91 kB / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.3437, allocations: 19.86 kB / 403 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3437, allocations: 11.94 kB / 403 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.3437, allocations: 4 kB / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.3438, allocations: 15.92 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.3438, allocations: 23.81 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.344, allocations: 63.67 kB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.344, allocations: 0 / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.344, allocations: 0 / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.344, allocations: 0 / 403.1 MB, free: 6.496 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.0004628/0.3444, allocations: 368.3 kB / 403.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3445, allocations: 12.03 kB / 403.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3445, allocations: 8.844 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3448, allocations: 204.1 kB / 403.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3448, allocations: 4.375 kB / 403.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3448, allocations: 4.375 kB / 403.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3451, allocations: 118 kB / 403.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3451, allocations: 0 / 403.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3451, allocations: 0 / 403.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3451, allocations: 7.922 kB / 403.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.3452, allocations: 23.98 kB / 403.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.3455, allocations: 278.5 kB / 404.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3456, allocations: 67.78 kB / 404.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.3457, allocations: 30.62 kB / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3457, allocations: 8 kB / 404.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3458, allocations: 34.5 kB / 404.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3458, allocations: 0 / 404.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.346, allocations: 85.52 kB / 404.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.3461, allocations: 111.1 kB / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3463, allocations: 148.2 kB / 404.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3463, allocations: 25.7 kB / 404.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.3463, allocations: 96.05 kB / 404.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.3464, allocations: 0 / 404.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3464, allocations: 21.7 kB / 404.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3465, allocations: 314.8 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.3466, allocations: 19.98 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.3466, allocations: 31.42 kB / 405.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.345e-05/0.3467, allocations: 47.36 kB / 405.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3467, allocations: 4 kB / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001233/0.3469, allocations: 65.53 kB / 405.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3469, allocations: 6.344 kB / 405.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3469, allocations: 7.938 kB / 405.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3469, allocations: 0 / 405.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.347, allocations: 11.98 kB / 405.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.347, allocations: 3.938 kB / 405.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.3471, allocations: 12.06 kB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3471, allocations: 4 kB / 405.2 MB, free: 4.062 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 8.503e-05/0.3472, allocations: 125.8 kB / 405.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.3473, allocations: 49.55 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.3473, allocations: 11.86 kB / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3473, allocations: 0 / 405.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3473, allocations: 4 kB / 405.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3473, allocations: 4 kB / 405.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3475, allocations: 177.7 kB / 405.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3475, allocations: 4 kB / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.3476, allocations: 11.98 kB / 405.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3476, allocations: 0 / 405.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3476, allocations: 0 / 405.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3476, allocations: 4 kB / 405.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3476, allocations: 0 / 405.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3478, allocations: 181 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.3479, allocations: 96.94 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3479, allocations: 4 kB / 405.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.348, allocations: 7.984 kB / 405.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.348, allocations: 0 / 405.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.348, allocations: 4 kB / 405.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.949e-05/0.3481, allocations: 114.7 kB / 406 MB, free: 3.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3481, allocations: 0 / 406 MB, free: 3.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.3484, allocations: 12 kB / 406 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.0001258/0.3485, allocations: 99.98 kB / 406.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.3487, allocations: 31.92 kB / 406.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3487, allocations: 0 / 406.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.3487, allocations: 15.92 kB / 406.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3491, allocations: 32.45 kB / 406.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.3495, allocations: 180.6 kB / 406.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3498, allocations: 0.6922 MB / 407 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.3499, allocations: 8.125 kB / 407.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.3499, allocations: 15.36 kB / 407.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3499, allocations: 4 kB / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of Templates: time 0.002735/0.3526, allocations: 0.5927 MB / 407.7 MB, free: 1.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/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