Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001089/0.001089, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.509/1.509, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 50.86 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1313, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003333/0.1347, allocations: 0.8986 MB / 352.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005913/0.1353, allocations: 143.5 kB / 352.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1355, allocations: 7.938 kB / 352.5 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1356, allocations: 11.86 kB / 352.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1359, allocations: 19.88 kB / 352.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1363, allocations: 43.89 kB / 352.6 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1364, allocations: 63.83 kB / 352.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.1366, allocations: 43.97 kB / 352.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.1367, allocations: 27.92 kB / 352.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1368, allocations: 39.72 kB / 352.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1368, allocations: 8 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.1369, allocations: 4 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.308e-05/0.1369, allocations: 31.91 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.137, allocations: 39.69 kB / 352.9 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1372, allocations: 107.6 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.1372, allocations: 0 / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1372, allocations: 3.938 kB / 353 MB, free: 2.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1373, allocations: 0 / 353 MB, free: 2.191 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006233/0.1379, allocations: 411 kB / 353.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1379, allocations: 8.031 kB / 353.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.138, allocations: 12.84 kB / 353.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1383, allocations: 219.9 kB / 353.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1383, allocations: 12.33 kB / 353.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1384, allocations: 8.375 kB / 353.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.1388, allocations: 227.5 kB / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1388, allocations: 4.172 kB / 353.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1388, allocations: 15.94 kB / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1389, allocations: 3.984 kB / 353.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.1389, allocations: 47.97 kB / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1391, allocations: 185.6 kB / 354.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.1394, allocations: 142.9 kB / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1395, allocations: 95.02 kB / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1396, allocations: 0 / 354.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1396, allocations: 30.56 kB / 354.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.1396, allocations: 3.938 kB / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003026/0.1399, allocations: 185.5 kB / 354.6 MB, free: 448 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.14, allocations: 63.39 kB / 354.6 MB, free: 372 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1401, allocations: 159.8 kB / 354.8 MB, free: 204 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1402, allocations: 29.7 kB / 354.8 MB, free: 168 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.1402, allocations: 96.45 kB / 354.9 MB, free: 64 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1403, allocations: 11.94 kB / 354.9 MB, free: 52 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.1404, allocations: 41.61 kB / 355 MB, free: 4 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1405, allocations: 322.8 kB / 355.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.1406, allocations: 19.98 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1407, allocations: 124.3 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1409, allocations: 153.5 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1409, allocations: 4 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002374/0.1411, allocations: 161.2 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1412, allocations: 4 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1412, allocations: 7.938 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1412, allocations: 8 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1413, allocations: 35.92 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1414, allocations: 4 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.1414, allocations: 8.406 kB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1415, allocations: 16 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001592/0.1416, allocations: 150.2 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.1418, allocations: 129.5 kB / 356.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1419, allocations: 29.11 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1419, allocations: 4 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1419, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1419, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1421, allocations: 193.5 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1421, allocations: 0 / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1422, allocations: 27.92 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1422, allocations: 4 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1423, allocations: 7.938 kB / 356.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1423, allocations: 4 kB / 356.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1423, allocations: 0 / 356.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1425, allocations: 164.8 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.1426, allocations: 108.9 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1426, allocations: 7.938 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.1427, allocations: 4 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-06/0.1427, allocations: 3.984 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1427, allocations: 4 kB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.1428, allocations: 118.9 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1428, allocations: 3.938 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.143, allocations: 23.94 kB / 356.8 MB, free: 13.97 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001227/0.1432, allocations: 103.8 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1434, allocations: 103.8 kB / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.1434, allocations: 0 / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.1434, allocations: 3.938 kB / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1438, allocations: 96.62 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.1444, allocations: 262.3 kB / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1448, allocations: 0.7239 MB / 358 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.1448, allocations: 5.094 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1449, allocations: 11.44 kB / 358.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1449, allocations: 4 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Templates: time 0.004439/0.1493, allocations: 1.156 MB / 359.2 MB, free: 11.48 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches