Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 103.8 kB / 16.92 MB, free: 5.766 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.001566/0.001566, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.567/1.567, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 45.83 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 49.45 MB / 350.1 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002872/0.1334, allocations: 0.8996 MB / 351 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.1338, allocations: 143.5 kB / 351.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.134, allocations: 0 / 351.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1342, allocations: 11.86 kB / 351.1 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1343, allocations: 11.94 kB / 351.1 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1346, allocations: 43.88 kB / 351.2 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1348, allocations: 63.84 kB / 351.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.1349, allocations: 40.2 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.135, allocations: 23.92 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.1351, allocations: 35.72 kB / 351.3 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1351, allocations: 12 kB / 351.3 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.1351, allocations: 4 kB / 351.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.1352, allocations: 27.91 kB / 351.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.1353, allocations: 35.75 kB / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1355, allocations: 79.7 kB / 351.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1355, allocations: 0 / 351.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1355, allocations: 0 / 351.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1355, allocations: 0 / 351.5 MB, free: 3.004 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.0004815/0.136, allocations: 391.3 kB / 351.9 MB, free: 2.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.136, allocations: 16.03 kB / 351.9 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1361, allocations: 12.78 kB / 351.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1363, allocations: 204 kB / 352.1 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1364, allocations: 12.33 kB / 352.1 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1364, allocations: 12.38 kB / 352.1 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.1368, allocations: 207.6 kB / 352.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1369, allocations: 192 / 352.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1369, allocations: 7.938 kB / 352.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1369, allocations: 4 kB / 352.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.137, allocations: 35.92 kB / 352.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.1372, allocations: 189.5 kB / 352.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1375, allocations: 135 kB / 352.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1376, allocations: 80.81 kB / 352.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1377, allocations: 0 / 352.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1377, allocations: 34.56 kB / 352.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1377, allocations: 0 / 352.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003523/0.1381, allocations: 156.8 kB / 352.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.1381, allocations: 59.41 kB / 353 MB, free: 1.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1383, allocations: 153.7 kB / 353.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1383, allocations: 25.7 kB / 353.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.1384, allocations: 88.41 kB / 353.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1384, allocations: 11.98 kB / 353.3 MB, free: 1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.1385, allocations: 41.61 kB / 353.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1387, allocations: 318.8 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.1387, allocations: 19.98 kB / 353.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1389, allocations: 124.7 kB / 353.8 MB, free: 456 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1391, allocations: 149.5 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1391, allocations: 0 / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002761/0.1394, allocations: 161.2 kB / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1394, allocations: 7.938 kB / 354.1 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1394, allocations: 7.984 kB / 354.1 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.1395, allocations: 4.5 kB / 354.1 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.1395, allocations: 19.94 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1395, allocations: 4 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.1396, allocations: 7.906 kB / 354.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1396, allocations: 15.98 kB / 354.1 MB, free: 20 kB / 286.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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0003025/0.1399, allocations: 146.2 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.1401, allocations: 121.4 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.1402, allocations: 21.17 kB / 354.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1402, allocations: 4 kB / 354.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1402, allocations: 7.938 kB / 354.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1402, allocations: 0 / 354.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.1404, allocations: 185.5 kB / 354.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.1404, allocations: 3.984 kB / 354.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.1404, allocations: 8 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.1404, allocations: 3.938 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1405, allocations: 0 / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1405, allocations: 0 / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1405, allocations: 0 / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1407, allocations: 159.3 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.1408, allocations: 97 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.1408, allocations: 7.938 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.1409, allocations: 4 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-06/0.1409, allocations: 0 / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1409, allocations: 0 / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.141, allocations: 111.2 kB / 355 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 0 / 355 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1413, allocations: 16 kB / 355 MB, free: 15.04 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001804/0.1415, allocations: 107.2 kB / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1418, allocations: 111.7 kB / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1418, allocations: 1 kB / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.1418, allocations: 0 / 355.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.1423, allocations: 87.38 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.1428, allocations: 233.5 kB / 355.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.1433, allocations: 0.7162 MB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.652e-05/0.1433, allocations: 8.641 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.1434, allocations: 15.44 kB / 356.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1434, allocations: 0 / 356.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Templates: time 0.004478/0.1479, allocations: 1.021 MB / 357.3 MB, free: 12.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches