Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 60.16 kB / 306.6 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1424, allocations: 50.54 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003386/0.1459, allocations: 0.964 MB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005144/0.1464, allocations: 127.6 kB / 358.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1466, allocations: 7.938 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1468, allocations: 7.922 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.147, allocations: 8 kB / 358.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1473, allocations: 39.91 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1475, allocations: 67.83 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1477, allocations: 48.17 kB / 358.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.1477, allocations: 27.92 kB / 358.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.1478, allocations: 27.8 kB / 358.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.1478, allocations: 8 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.914e-05/0.1478, allocations: 4 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.1479, allocations: 23.91 kB / 358.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.148, allocations: 39.69 kB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1482, allocations: 79.7 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1482, allocations: 0 / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1482, allocations: 0 / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1483, allocations: 0 / 358.6 MB, free: 12.61 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006872/0.1489, allocations: 403.3 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.149, allocations: 8.031 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.1491, allocations: 42.73 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1491, allocations: 8.844 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1495, allocations: 204 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1495, allocations: 12.31 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1495, allocations: 12.38 kB / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.1501, allocations: 211.6 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1501, allocations: 3.938 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1502, allocations: 4 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1502, allocations: 4 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.1503, allocations: 31.98 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.1506, allocations: 197.4 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1509, allocations: 122.8 kB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.151, allocations: 81.05 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1511, allocations: 0 / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.1511, allocations: 34.56 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.1511, allocations: 4 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004402/0.1516, allocations: 156 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.1517, allocations: 63.39 kB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1519, allocations: 148.3 kB / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1519, allocations: 29.7 kB / 360.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.152, allocations: 88.45 kB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1521, allocations: 11.91 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.1521, allocations: 37.7 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1523, allocations: 334.7 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.1524, allocations: 19.98 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1525, allocations: 113.7 kB / 360.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1527, allocations: 157.5 kB / 361.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1527, allocations: 0 / 361.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002504/0.153, allocations: 153.7 kB / 361.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.153, allocations: 12 kB / 361.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.153, allocations: 4 kB / 361.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.1531, allocations: 8 kB / 361.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.514e-05/0.1531, allocations: 15.92 kB / 361.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.1531, allocations: 7.984 kB / 361.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.1532, allocations: 7.906 kB / 361.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1532, allocations: 12 kB / 361.3 MB, free: 9.566 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 (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.000283/0.1535, allocations: 145.6 kB / 361.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.1537, allocations: 121.5 kB / 361.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1538, allocations: 17.19 kB / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1538, allocations: 0 / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1538, allocations: 7.938 kB / 361.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1538, allocations: 0 / 361.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.154, allocations: 193.5 kB / 361.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.154, allocations: 0 / 361.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.154, allocations: 11.98 kB / 361.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1541, allocations: 3.938 kB / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1541, allocations: 0 / 361.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1541, allocations: 4 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1541, allocations: 0 / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1543, allocations: 151.7 kB / 361.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.1544, allocations: 108.8 kB / 362 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1544, allocations: 4 kB / 362 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.1544, allocations: 4 kB / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-06/0.1544, allocations: 0 / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1545, allocations: 0 / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.576e-05/0.1546, allocations: 110.1 kB / 362.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1546, allocations: 4 kB / 362.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1548, allocations: 19.98 kB / 362.2 MB, free: 8.578 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.0007168/0.1555, allocations: 0.7383 MB / 362.9 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1558, allocations: 115.7 kB / 363 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1558, allocations: 0 / 363 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.1558, allocations: 0 / 363 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1562, allocations: 85.45 kB / 363.1 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1578, allocations: 1.637 MB / 364.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1581, allocations: 0.7084 MB / 365.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.1582, allocations: 16.42 kB / 365.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.1582, allocations: 23.44 kB / 365.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1582, allocations: 0 / 365.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1723, allocations: 2.307 MB / 367.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.1726, allocations: 239.1 kB / 368 MB, free: 2.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.395, allocations: 0 / 368 MB, free: 2.629 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches