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.001258/0.001257, allocations: 108.9 kB / 16.51 MB, free: 6.707 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.001428/0.001429, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.515/1.515, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 46.23 kB / 300 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 49.45 MB / 349.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00379/0.1185, allocations: 1.651 MB / 351.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.1195, allocations: 498.6 kB / 351.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1196, allocations: 4 kB / 351.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.1198, allocations: 3.938 kB / 351.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.1199, allocations: 15.91 kB / 351.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1203, allocations: 39.91 kB / 351.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.1204, allocations: 59.78 kB / 351.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1206, allocations: 19.98 kB / 351.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1207, allocations: 23.86 kB / 351.7 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.1208, allocations: 31.84 kB / 351.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1208, allocations: 0 / 351.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.1208, allocations: 4 kB / 351.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.1209, allocations: 15.92 kB / 351.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.121, allocations: 31.75 kB / 351.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1211, allocations: 59.78 kB / 351.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1211, allocations: 4 kB / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1211, allocations: 0 / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1211, allocations: 0 / 351.8 MB, free: 2.383 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.0006323/0.1218, allocations: 395.3 kB / 352.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.1219, allocations: 15.97 kB / 352.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.1219, allocations: 12.75 kB / 352.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1222, allocations: 204 kB / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1222, allocations: 384 / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.1223, allocations: 8.375 kB / 352.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.1227, allocations: 130.2 kB / 352.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1227, allocations: 4 kB / 352.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1227, allocations: 0 / 352.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.1227, allocations: 0 / 352.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1229, allocations: 43.91 kB / 352.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.1235, allocations: 377.9 kB / 353 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1237, allocations: 83.77 kB / 353.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.1238, allocations: 38.62 kB / 353.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1238, allocations: 0 / 353.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1239, allocations: 42.5 kB / 353.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1239, allocations: 0 / 353.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004411/0.1243, allocations: 117.5 kB / 353.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.1244, allocations: 102.8 kB / 353.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1246, allocations: 152.5 kB / 353.5 MB, free: 456 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1246, allocations: 33.69 kB / 353.6 MB, free: 416 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.1247, allocations: 96.05 kB / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1247, allocations: 7.875 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.1248, allocations: 33.55 kB / 353.7 MB, free: 268 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.125, allocations: 314.8 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.1251, allocations: 23.97 kB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.1252, allocations: 43.42 kB / 354.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1253, allocations: 63.34 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1253, allocations: 0 / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002221/0.1256, allocations: 89.5 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1256, allocations: 4 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1256, allocations: 4 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1256, allocations: 0 / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1258, allocations: 11.98 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1258, allocations: 4 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.1258, allocations: 7.938 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1259, allocations: 4.125 kB / 354.3 MB, free: 15.66 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.0001141/0.126, allocations: 129.7 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1261, allocations: 53.59 kB / 354.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.1261, allocations: 15.81 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.1262, allocations: 0 / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.1262, allocations: 7.984 kB / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1262, allocations: 0 / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.1265, allocations: 173.6 kB / 354.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.1265, allocations: 7.984 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.1266, allocations: 12.03 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1266, allocations: 0 / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1266, allocations: 4 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1266, allocations: 7.922 kB / 354.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1266, allocations: 0 / 354.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.127, allocations: 271.5 kB / 354.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.127, allocations: 89 kB / 355 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1271, allocations: 4 kB / 355 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1272, allocations: 11.98 kB / 355 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1272, allocations: 0 / 355 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1273, allocations: 4 kB / 355 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.246e-05/0.1274, allocations: 118.9 kB / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1274, allocations: 0 / 355.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1277, allocations: 12 kB / 355.2 MB, free: 14.66 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.0001406/0.1278, allocations: 107.3 kB / 355.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.128, allocations: 51.89 kB / 355.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.128, allocations: 3.938 kB / 355.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1281, allocations: 15.98 kB / 355.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.1287, allocations: 33.12 kB / 355.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.1292, allocations: 234.9 kB / 355.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1295, allocations: 0.7083 MB / 356.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.1296, allocations: 7.984 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.1296, allocations: 11.44 kB / 356.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1297, allocations: 0 / 356.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Templates: time 0.003378/0.133, allocations: 0.617 MB / 356.9 MB, free: 12.82 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