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.0014/0.0014, allocations: 103.5 kB / 16.62 MB, free: 6.805 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.001334/0.001334, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.467/1.467, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009469/0.0009469, allocations: 47.67 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1042, allocations: 49.45 MB / 349.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002928/0.1072, allocations: 1.651 MB / 351.2 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.1079, allocations: 486.8 kB / 351.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.108, allocations: 4 kB / 351.7 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.82e-05/0.1081, allocations: 7.922 kB / 351.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.1082, allocations: 7.938 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1085, allocations: 45.14 kB / 351.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1086, allocations: 67.7 kB / 351.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1087, allocations: 16 kB / 351.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1088, allocations: 27.86 kB / 351.9 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.1088, allocations: 27.86 kB / 351.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1089, allocations: 4 kB / 351.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.1089, allocations: 4 kB / 351.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.109, allocations: 19.91 kB / 351.9 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.109, allocations: 35.8 kB / 352 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1092, allocations: 71.72 kB / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1092, allocations: 3.938 kB / 352 MB, free: 2.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1092, allocations: 0 / 352 MB, free: 2.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1092, allocations: 0 / 352 MB, free: 2.27 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.0005875/0.1098, allocations: 395.2 kB / 352.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1098, allocations: 8.031 kB / 352.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1099, allocations: 12.75 kB / 352.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1101, allocations: 192.1 kB / 352.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1101, allocations: 12.36 kB / 352.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1101, allocations: 8.359 kB / 352.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1105, allocations: 126.2 kB / 352.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1105, allocations: 3.984 kB / 352.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1105, allocations: 0 / 352.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.1105, allocations: 8 kB / 352.8 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1107, allocations: 43.91 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.1112, allocations: 365.9 kB / 353.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1113, allocations: 91.77 kB / 353.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.1114, allocations: 38.56 kB / 353.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1114, allocations: 4 kB / 353.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.1115, allocations: 38.56 kB / 353.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1115, allocations: 0 / 353.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003728/0.1119, allocations: 113.5 kB / 353.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.112, allocations: 107.1 kB / 353.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1121, allocations: 157.9 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1121, allocations: 25.7 kB / 353.8 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.1122, allocations: 100 kB / 353.9 MB, free: 208 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1123, allocations: 7.938 kB / 353.9 MB, free: 200 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.1123, allocations: 17.62 kB / 353.9 MB, free: 176 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1125, allocations: 326.8 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1125, allocations: 15.98 kB / 354.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.1126, allocations: 43.42 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1128, allocations: 67.33 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1128, allocations: 4 kB / 354.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001934/0.113, allocations: 85.52 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.113, allocations: 4 kB / 354.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1131, allocations: 3.938 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1131, allocations: 7.984 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1132, allocations: 11.94 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1132, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.1133, allocations: 16.05 kB / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1133, allocations: 4 kB / 354.5 MB, free: 15.55 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 0.0001082/0.1134, allocations: 125.7 kB / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.1135, allocations: 53.59 kB / 354.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.1136, allocations: 15.86 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.1136, allocations: 4 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1136, allocations: 0 / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1136, allocations: 0 / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1139, allocations: 185.6 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1139, allocations: 0 / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.114, allocations: 15.92 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.114, allocations: 0 / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.114, allocations: 0 / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.114, allocations: 0 / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.114, allocations: 4 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1143, allocations: 267.5 kB / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.1144, allocations: 101 kB / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1144, allocations: 0 / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1145, allocations: 4 kB / 355.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1146, allocations: 7.938 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1146, allocations: 3.984 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.1147, allocations: 115.2 kB / 355.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1147, allocations: 4 kB / 355.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.115, allocations: 8 kB / 355.4 MB, free: 14.55 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.0001063/0.1151, allocations: 99.25 kB / 355.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1153, allocations: 55.98 kB / 355.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1153, allocations: 0 / 355.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.1154, allocations: 28.22 kB / 355.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.1159, allocations: 32 kB / 355.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.1164, allocations: 237.3 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1167, allocations: 0.6963 MB / 356.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.84e-05/0.1168, allocations: 11.98 kB / 356.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.1168, allocations: 15.38 kB / 356.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1168, allocations: 0 / 356.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Templates: time 0.003248/0.1201, allocations: 0.649 MB / 357.2 MB, free: 12.68 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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