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.001194/0.001194, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.00129/0.001291, allocations: 187.3 kB / 18.51 MB, free: 4.523 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.468/1.468, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 46.84 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1127, allocations: 49.44 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003436/0.1162, allocations: 1.604 MB / 352.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1173, allocations: 496.2 kB / 352.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1174, allocations: 4 kB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1176, allocations: 7.875 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1177, allocations: 15.86 kB / 352.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.118, allocations: 43.83 kB / 352.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1182, allocations: 59.78 kB / 352.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1183, allocations: 19.98 kB / 353 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1185, allocations: 31.86 kB / 353 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/0.1185, allocations: 35.78 kB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1186, allocations: 4 kB / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.1186, allocations: 4 kB / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.1187, allocations: 15.92 kB / 353.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.1187, allocations: 31.8 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1189, allocations: 67.72 kB / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1189, allocations: 4 kB / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1189, allocations: 0 / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1189, allocations: 4 kB / 353.2 MB, free: 1.992 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.0005871/0.1195, allocations: 398 kB / 353.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1196, allocations: 8.031 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.1196, allocations: 12.75 kB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1199, allocations: 196.1 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.1199, allocations: 384 / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1199, allocations: 8.375 kB / 353.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.1202, allocations: 134.2 kB / 353.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1202, allocations: 3.984 kB / 353.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1203, allocations: 3.938 kB / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.1203, allocations: 4 kB / 353.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1204, allocations: 39.97 kB / 354 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.121, allocations: 373.8 kB / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1211, allocations: 87.77 kB / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.1212, allocations: 38.62 kB / 354.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1212, allocations: 0 / 354.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1213, allocations: 38.56 kB / 354.5 MB, free: 480 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1213, allocations: 0 / 354.5 MB, free: 480 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003718/0.1217, allocations: 117.4 kB / 354.6 MB, free: 356 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1217, allocations: 106.8 kB / 354.7 MB, free: 224 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1219, allocations: 149.9 kB / 354.8 MB, free: 68 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1219, allocations: 34.06 kB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.122, allocations: 96.05 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.122, allocations: 11.94 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1221, allocations: 21.61 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1222, allocations: 318.8 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.1223, allocations: 19.98 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.1224, allocations: 47.41 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1225, allocations: 63.34 kB / 355.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1225, allocations: 0 / 355.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001983/0.1227, allocations: 93.44 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1228, allocations: 8 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1228, allocations: 3.938 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1228, allocations: 0 / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1229, allocations: 19.98 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1229, allocations: 0 / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.123, allocations: 4 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.123, allocations: 128 / 355.6 MB, free: 15.29 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 9.9e-05/0.1231, allocations: 133.7 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.1232, allocations: 57.53 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.1233, allocations: 11.88 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.1233, allocations: 4 kB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1233, allocations: 0 / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1233, allocations: 0 / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1235, allocations: 185.6 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1235, allocations: 0 / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.1236, allocations: 12.02 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1236, allocations: 4 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1236, allocations: 0 / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1236, allocations: 0 / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1237, allocations: 0 / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1239, allocations: 283.5 kB / 356.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.124, allocations: 93 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.124, allocations: 4 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1242, allocations: 4 kB / 356.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1242, allocations: 3.984 kB / 356.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1242, allocations: 4 kB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.62e-05/0.1243, allocations: 115.2 kB / 356.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1243, allocations: 0 / 356.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1246, allocations: 8 kB / 356.5 MB, free: 14.27 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 0.0001139/0.1247, allocations: 103.2 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.125, allocations: 59.83 kB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.125, allocations: 0 / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.125, allocations: 19.98 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1256, allocations: 25.8 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.126, allocations: 239 kB / 356.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1264, allocations: 0.7041 MB / 357.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1264, allocations: 11.44 kB / 357.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1264, allocations: 3.938 kB / 357.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002711/0.1291, allocations: 0.9275 MB / 358.6 MB, free: 12.12 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