Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002529/0.002529, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 55.62 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1233, allocations: 50.55 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002689/0.126, allocations: 1.532 MB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.1264, allocations: 139.5 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.1265, allocations: 4 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.83e-05/0.1266, allocations: 11.86 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.1267, allocations: 7.938 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1269, allocations: 35.89 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.127, allocations: 43.8 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1272, allocations: 27.95 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.1272, allocations: 11.94 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.1273, allocations: 19.92 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1273, allocations: 0 / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.1273, allocations: 7.938 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.1274, allocations: 15.98 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.1274, allocations: 27.75 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.991e-05/0.1275, allocations: 55.8 kB / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1275, allocations: 0 / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1275, allocations: 4 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1275, allocations: 4 kB / 360.8 MB, free: 11.36 MB / 302.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.000445/0.128, allocations: 383 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.128, allocations: 12.02 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1281, allocations: 8.844 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1283, allocations: 198.5 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1283, allocations: 4.375 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1283, allocations: 384 / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1286, allocations: 130.4 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1286, allocations: 192 / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1286, allocations: 3.938 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1287, allocations: 4 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1288, allocations: 39.91 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.1292, allocations: 361.9 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1293, allocations: 87.7 kB / 362.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.1294, allocations: 38.62 kB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1294, allocations: 3.938 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1295, allocations: 38.5 kB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1295, allocations: 0 / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003058/0.1298, allocations: 109.5 kB / 362.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.1299, allocations: 106.8 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.13, allocations: 141.8 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.13, allocations: 25.7 kB / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1301, allocations: 96.36 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.1301, allocations: 4 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1301, allocations: 25.7 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.1302, allocations: 314.8 kB / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.1303, allocations: 19.98 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1304, allocations: 47.33 kB / 363 MB, free: 8.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1305, allocations: 67.34 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1305, allocations: 3.938 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001588/0.1307, allocations: 81.52 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1307, allocations: 4 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1307, allocations: 0 / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1307, allocations: 4 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.1308, allocations: 11.98 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1308, allocations: 0 / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1309, allocations: 11.98 kB / 363.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1309, allocations: 4 kB / 363.2 MB, free: 8.711 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 8.706e-05/0.131, allocations: 129.8 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.1311, allocations: 49.59 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.1311, allocations: 15.83 kB / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.1311, allocations: 7.984 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1311, allocations: 0 / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1311, allocations: 0 / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1313, allocations: 173.6 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1313, allocations: 4 kB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.1314, allocations: 7.984 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1314, allocations: 4.031 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1314, allocations: 4 kB / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1314, allocations: 0 / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1314, allocations: 0 / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1317, allocations: 267.4 kB / 363.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.1317, allocations: 101 kB / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1317, allocations: 0 / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1319, allocations: 4 kB / 363.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1319, allocations: 3.984 kB / 363.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1319, allocations: 7.938 kB / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.629e-05/0.132, allocations: 114.3 kB / 364.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.132, allocations: 0 / 364.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1323, allocations: 12 kB / 364.1 MB, free: 7.719 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.0001007/0.1324, allocations: 103.2 kB / 364.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1325, allocations: 43.91 kB / 364.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1325, allocations: 4 kB / 364.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.1326, allocations: 19.92 kB / 364.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.133, allocations: 35.33 kB / 364.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.1333, allocations: 187.2 kB / 364.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1336, allocations: 0.6924 MB / 365.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.1336, allocations: 11.98 kB / 365.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.1336, allocations: 7.438 kB / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1336, allocations: 3.938 kB / 365.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Templates: time 0.00265/0.1363, allocations: 0.6322 MB / 365.8 MB, free: 5.941 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches