Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.589/1.589, allocations: 230.4 MB / 250 MB, free: 9.031 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.83 kB / 367.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 53.31 MB / 420.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003314/0.3678, allocations: 1.628 MB / 422.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3694, allocations: 0.5571 MB / 422.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3695, allocations: 0 / 422.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.3696, allocations: 7.875 kB / 422.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3698, allocations: 19.84 kB / 422.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.3703, allocations: 67.8 kB / 422.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3704, allocations: 55.78 kB / 423 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3706, allocations: 16 kB / 423 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3708, allocations: 39.84 kB / 423.1 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.3709, allocations: 31.84 kB / 423.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3709, allocations: 0 / 423.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.3709, allocations: 12 kB / 423.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.371, allocations: 15.92 kB / 423.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.3711, allocations: 39.67 kB / 423.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3713, allocations: 75.52 kB / 423.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3713, allocations: 3.938 kB / 423.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3713, allocations: 0 / 423.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3713, allocations: 0 / 423.2 MB, free: 5.816 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007447/0.372, allocations: 409.9 kB / 423.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3721, allocations: 12.03 kB / 423.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.3724, allocations: 28.86 kB / 423.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.3728, allocations: 212.1 kB / 423.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3728, allocations: 384 / 423.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3728, allocations: 4.375 kB / 423.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3732, allocations: 134.2 kB / 424 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3732, allocations: 3.938 kB / 424 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3732, allocations: 4 kB / 424 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.3732, allocations: 0 / 424 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3733, allocations: 39.97 kB / 424.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.3739, allocations: 377.8 kB / 424.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.374, allocations: 87.77 kB / 424.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.3741, allocations: 38.56 kB / 424.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3741, allocations: 4 kB / 424.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.3742, allocations: 30.56 kB / 424.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3742, allocations: 0 / 424.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004352/0.3746, allocations: 125.4 kB / 424.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.3747, allocations: 110.7 kB / 424.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3749, allocations: 158.2 kB / 425 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3749, allocations: 29.7 kB / 425 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3751, allocations: 92.45 kB / 425.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3751, allocations: 15.95 kB / 425.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3751, allocations: 17.7 kB / 425.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.3754, allocations: 318.8 kB / 425.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.3755, allocations: 23.97 kB / 425.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.3755, allocations: 43.41 kB / 425.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3757, allocations: 67.34 kB / 425.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3757, allocations: 0 / 425.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002215/0.3759, allocations: 97.52 kB / 425.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.376, allocations: 4 kB / 425.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.376, allocations: 0 / 425.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.376, allocations: 4 kB / 425.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3761, allocations: 11.98 kB / 425.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.3761, allocations: 3.984 kB / 425.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.3762, allocations: 4 kB / 425.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3762, allocations: 7.984 kB / 425.7 MB, free: 3.047 MB / 334.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.0001409/0.3764, allocations: 121.9 kB / 425.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3765, allocations: 61.53 kB / 425.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.584e-05/0.3765, allocations: 15.83 kB / 425.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.3766, allocations: 7.984 kB / 425.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3766, allocations: 0 / 425.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3766, allocations: 0 / 425.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.3769, allocations: 185.6 kB / 426.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3769, allocations: 0 / 426.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.377, allocations: 8 kB / 426.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.377, allocations: 0 / 426.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.377, allocations: 8.016 kB / 426.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.377, allocations: 4 kB / 426.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.377, allocations: 0 / 426.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3774, allocations: 271.5 kB / 426.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3775, allocations: 93.05 kB / 426.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3775, allocations: 0 / 426.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3776, allocations: 15.98 kB / 426.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.3777, allocations: 7.938 kB / 426.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3777, allocations: 3.938 kB / 426.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3778, allocations: 119.2 kB / 426.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 426.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3781, allocations: 8 kB / 426.6 MB, free: 2.023 MB / 334.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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0002155/0.3783, allocations: 107.2 kB / 426.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3786, allocations: 55.84 kB / 426.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3786, allocations: 0 / 426.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3787, allocations: 15.98 kB / 426.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.3793, allocations: 31.94 kB / 426.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.38, allocations: 205.2 kB / 427 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3805, allocations: 0.7002 MB / 427.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.3805, allocations: 7.984 kB / 427.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.3806, allocations: 11.44 kB / 427.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3806, allocations: 4 kB / 427.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of Templates: time 0.004649/0.3852, allocations: 0.7146 MB / 428.4 MB, free: 160 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches