Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001492/0.001492, allocations: 187 kB / 18.63 MB, free: 4.379 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.488/1.488, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 48.58 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 49.46 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003553/0.1161, allocations: 1.508 MB / 353 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004633/0.1166, allocations: 149 kB / 353.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.1168, allocations: 4 kB / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1169, allocations: 19.86 kB / 353.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1171, allocations: 3.938 kB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.1173, allocations: 35.89 kB / 353.2 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1175, allocations: 43.8 kB / 353.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1176, allocations: 15.98 kB / 353.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.1177, allocations: 19.92 kB / 353.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.1177, allocations: 19.86 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1178, allocations: 4 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.1178, allocations: 7.938 kB / 353.3 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.1179, allocations: 19.92 kB / 353.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.118, allocations: 23.81 kB / 353.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1182, allocations: 55.73 kB / 353.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1182, allocations: 4 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1182, allocations: 0 / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1182, allocations: 0 / 353.4 MB, free: 1.762 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.000714/0.1189, allocations: 383 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.119, allocations: 12.03 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.119, allocations: 8.844 kB / 353.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1194, allocations: 202.6 kB / 354 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1194, allocations: 4.375 kB / 354 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1194, allocations: 384 / 354 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.1198, allocations: 130.4 kB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1198, allocations: 192 / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1198, allocations: 3.938 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.1199, allocations: 4 kB / 354.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.12, allocations: 35.91 kB / 354.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.1205, allocations: 369.9 kB / 354.6 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1207, allocations: 87.78 kB / 354.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.1207, allocations: 38.5 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1208, allocations: 0 / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1208, allocations: 46.48 kB / 354.7 MB, free: 260 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1208, allocations: 0 / 354.7 MB, free: 260 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003138/0.1211, allocations: 101.8 kB / 354.8 MB, free: 152 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1212, allocations: 106.8 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1213, allocations: 141.8 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1214, allocations: 29.7 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.1214, allocations: 88.12 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.1214, allocations: 3.906 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1215, allocations: 21.72 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1216, allocations: 322.9 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.1217, allocations: 15.98 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1217, allocations: 39.36 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1219, allocations: 67.34 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1219, allocations: 3.938 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001613/0.122, allocations: 81.52 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1221, allocations: 11.92 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1221, allocations: 0 / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1221, allocations: 8.125 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.1222, allocations: 12 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1222, allocations: 3.984 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.1222, allocations: 7.984 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1223, allocations: 4 kB / 355.8 MB, free: 15.11 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001051/0.1224, allocations: 129.7 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.1225, allocations: 45.61 kB / 356 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.1225, allocations: 15.98 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.1225, allocations: 7.984 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1225, allocations: 0 / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1225, allocations: 0 / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.1228, allocations: 185.6 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1228, allocations: 0 / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.1228, allocations: 11.92 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1228, allocations: 4 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1228, allocations: 0 / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1228, allocations: 0 / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1229, allocations: 0 / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1231, allocations: 267.4 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.1232, allocations: 97 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1232, allocations: 0 / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1233, allocations: 7.984 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1234, allocations: 4 kB / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1234, allocations: 4 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.158e-05/0.1234, allocations: 114.7 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1235, allocations: 0 / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1237, allocations: 8 kB / 356.7 MB, free: 14.12 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0001201/0.1238, allocations: 103.2 kB / 356.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.124, allocations: 47.91 kB / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.124, allocations: 0 / 356.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.1241, allocations: 19.92 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1246, allocations: 27.95 kB / 356.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.1249, allocations: 191.5 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1252, allocations: 0.6924 MB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.1253, allocations: 11.97 kB / 357.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.1253, allocations: 11.44 kB / 357.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1253, allocations: 3.938 kB / 357.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of Templates: time 0.002846/0.1282, allocations: 0.628 MB / 358.4 MB, free: 12.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches