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.001222/0.001222, allocations: 111.6 kB / 17.06 MB, free: 6 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.001269/0.001269, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.456/1.456, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 43.94 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4125, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003793/0.4164, allocations: 1.572 MB / 402.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4176, allocations: 478.7 kB / 402.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4177, allocations: 3.938 kB / 402.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.513e-05/0.4178, allocations: 7.875 kB / 402.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.418, allocations: 15.92 kB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.4183, allocations: 51.45 kB / 402.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4184, allocations: 51.84 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4186, allocations: 20.16 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.4187, allocations: 23.86 kB / 402.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.4188, allocations: 23.84 kB / 403 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4188, allocations: 4 kB / 403 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.4188, allocations: 8 kB / 403 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.4189, allocations: 11.94 kB / 403 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.4189, allocations: 23.8 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.4191, allocations: 59.75 kB / 403.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4191, allocations: 3.984 kB / 403.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4191, allocations: 0 / 403.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4191, allocations: 0 / 403.1 MB, free: 6.52 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.0005636/0.4197, allocations: 364.3 kB / 403.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4197, allocations: 12.03 kB / 403.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.4198, allocations: 12.78 kB / 403.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.4201, allocations: 203.2 kB / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4201, allocations: 384 / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4201, allocations: 4.375 kB / 403.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.4204, allocations: 126 kB / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4205, allocations: 0 / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.4205, allocations: 0 / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4205, allocations: 0 / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.454e-05/0.4206, allocations: 27.91 kB / 403.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.421, allocations: 274.6 kB / 404.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4212, allocations: 71.78 kB / 404.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.4213, allocations: 26.64 kB / 404.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4213, allocations: 3.938 kB / 404.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.4213, allocations: 46.48 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.4214, allocations: 0 / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003262/0.4217, allocations: 81.52 kB / 404.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.4218, allocations: 107.2 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.422, allocations: 149.8 kB / 404.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.422, allocations: 29.64 kB / 404.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.4221, allocations: 92.05 kB / 404.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.4222, allocations: 4 kB / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.4222, allocations: 17.72 kB / 404.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4224, allocations: 318.8 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.4224, allocations: 12 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.4225, allocations: 35.36 kB / 405.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4226, allocations: 51.36 kB / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4226, allocations: 0 / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001637/0.4228, allocations: 77.52 kB / 405.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4228, allocations: 4 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4228, allocations: 4 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4228, allocations: 0 / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.4229, allocations: 11.98 kB / 405.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.423, allocations: 7.922 kB / 405.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.423, allocations: 7.938 kB / 405.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.423, allocations: 0 / 405.2 MB, free: 4.086 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.0001116/0.4231, allocations: 129.9 kB / 405.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.4232, allocations: 45.61 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.4233, allocations: 19.8 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4233, allocations: 0 / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4233, allocations: 0 / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4233, allocations: 4 kB / 405.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.4235, allocations: 169.6 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4235, allocations: 4 kB / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.4236, allocations: 12.05 kB / 405.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4236, allocations: 4 kB / 405.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4236, allocations: 4 kB / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4236, allocations: 0 / 405.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4236, allocations: 4 kB / 405.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.4239, allocations: 185 kB / 405.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.4239, allocations: 93.14 kB / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.424, allocations: 0 / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.4241, allocations: 11.98 kB / 405.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.4241, allocations: 3.984 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.4241, allocations: 4 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.4242, allocations: 105.8 kB / 406 MB, free: 3.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4242, allocations: 0 / 406 MB, free: 3.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000239/0.4244, allocations: 12 kB / 406 MB, free: 3.184 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.0001554/0.4246, allocations: 111.3 kB / 406.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.4248, allocations: 31.92 kB / 406.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4248, allocations: 0 / 406.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.975e-05/0.4248, allocations: 11.98 kB / 406.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4252, allocations: 31.84 kB / 406.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.4257, allocations: 185.1 kB / 406.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.426, allocations: 0.6961 MB / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.4261, allocations: 0 / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.4261, allocations: 11.44 kB / 407.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4261, allocations: 0 / 407.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of Templates: time 0.003241/0.4293, allocations: 0.5984 MB / 407.7 MB, free: 1.453 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