Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 96.41 kB / 17.31 MB, free: 5.941 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.000971/0.0009709, allocations: 180.1 kB / 18.21 MB, free: 5.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.273/1.273, allocations: 223.3 MB / 242.3 MB, free: 24 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002152, allocations: 4 kB / 302.1 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07398/0.07421, allocations: 50.42 MB / 352.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001504/0.07574, allocations: 1.315 MB / 353.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006418/0.0764, allocations: 486.8 kB / 354.3 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.07647, allocations: 4 kB / 354.3 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.631e-05/0.07655, allocations: 7.922 kB / 354.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.07663, allocations: 7.875 kB / 354.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.07684, allocations: 43.89 kB / 354.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.07694, allocations: 55.78 kB / 354.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.07704, allocations: 23.98 kB / 354.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.07711, allocations: 23.86 kB / 354.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.07717, allocations: 27.8 kB / 354.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.07719, allocations: 4 kB / 354.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.07721, allocations: 0 / 354.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.07726, allocations: 11.92 kB / 354.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.07731, allocations: 65.48 kB / 354.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.886e-05/0.07738, allocations: 35.94 kB / 354.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.07739, allocations: 4 kB / 354.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.0774, allocations: 0 / 354.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.07741, allocations: 0 / 354.6 MB, free: 1.547 MB / 286.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.0004072/0.07782, allocations: 379.4 kB / 355 MB, free: 1.129 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.07786, allocations: 15.97 kB / 355 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.0779, allocations: 16.75 kB / 355 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.07806, allocations: 200.1 kB / 355.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.07808, allocations: 384 / 355.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.0781, allocations: 8.375 kB / 355.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.07837, allocations: 130.2 kB / 355.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.07839, allocations: 0 / 355.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.0784, allocations: 7.938 kB / 355.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.07843, allocations: 0 / 355.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.07858, allocations: 47.97 kB / 355.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.079, allocations: 381.8 kB / 355.8 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.07915, allocations: 95.77 kB / 355.9 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.07925, allocations: 38.62 kB / 355.9 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.07927, allocations: 4 kB / 355.9 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.07929, allocations: 38.55 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.0793, allocations: 0 / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003791/0.07968, allocations: 137.8 kB / 356.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.07974, allocations: 102.8 kB / 356.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.07987, allocations: 150.2 kB / 356.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.07989, allocations: 25.7 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.07994, allocations: 96.05 kB / 356.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.07996, allocations: 7.844 kB / 356.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.07999, allocations: 17.7 kB / 356.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.08008, allocations: 326.7 kB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.08017, allocations: 20.02 kB / 356.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.08025, allocations: 47.41 kB / 356.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.08042, allocations: 75.34 kB / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.08043, allocations: 0 / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002073/0.08065, allocations: 97.53 kB / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.08067, allocations: 8 kB / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.08068, allocations: 0 / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.08069, allocations: 0 / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.08078, allocations: 15.98 kB / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.0808, allocations: 128 / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.08087, allocations: 12 kB / 357.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.08088, allocations: 7.984 kB / 357.1 MB, free: 14.78 MB / 302.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 7.481e-05/0.08096, allocations: 125.8 kB / 357.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.08106, allocations: 57.44 kB / 357.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.08109, allocations: 15.81 kB / 357.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.08111, allocations: 4 kB / 357.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.08112, allocations: 0 / 357.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.08113, allocations: 8.031 kB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.08135, allocations: 185.6 kB / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.08136, allocations: 0 / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.08143, allocations: 11.98 kB / 357.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.08144, allocations: 0 / 357.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.08145, allocations: 0 / 357.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.08146, allocations: 4 kB / 357.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.08146, allocations: 0 / 357.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.08173, allocations: 283.4 kB / 357.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.0818, allocations: 97 kB / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.08182, allocations: 0 / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.08195, allocations: 15.91 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.08198, allocations: 3.984 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.08199, allocations: 0 / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.08207, allocations: 117.5 kB / 358 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08208, allocations: 0 / 358 MB, free: 13.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.08236, allocations: 12 kB / 358 MB, free: 13.76 MB / 302.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 7.208e-05/0.08244, allocations: 95.25 kB / 358.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.08264, allocations: 71.77 kB / 358.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.08265, allocations: 0 / 358.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.08273, allocations: 19.98 kB / 358.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.08317, allocations: 28.39 kB / 358.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.08354, allocations: 261 kB / 358.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.08377, allocations: 0.7044 MB / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.0838, allocations: 7.438 kB / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08381, allocations: 4 kB / 359.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Templates: time 0.00207/0.08589, allocations: 0.9169 MB / 360.1 MB, free: 11.58 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches