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.001379/0.001379, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001494, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.3 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.67 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1208, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003706/0.1246, allocations: 0.9639 MB / 357.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.1252, allocations: 135.6 kB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1253, allocations: 0 / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1254, allocations: 3.938 kB / 358 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1256, allocations: 11.92 kB / 358 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1259, allocations: 43.91 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.126, allocations: 55.84 kB / 358.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1262, allocations: 48.17 kB / 358.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.1262, allocations: 23.86 kB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.1263, allocations: 31.84 kB / 358.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.1263, allocations: 4 kB / 358.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.1263, allocations: 4 kB / 358.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.463e-05/0.1264, allocations: 23.92 kB / 358.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.1265, allocations: 35.73 kB / 358.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1266, allocations: 79.64 kB / 358.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1266, allocations: 4 kB / 358.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1266, allocations: 0 / 358.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1267, allocations: 4 kB / 358.4 MB, free: 12.94 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.0005043/0.1272, allocations: 387.4 kB / 358.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1272, allocations: 8.031 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.1273, allocations: 46.73 kB / 358.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1273, allocations: 12.84 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1276, allocations: 208 kB / 359 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1276, allocations: 4.375 kB / 359 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1276, allocations: 12.38 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.1281, allocations: 206.2 kB / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1281, allocations: 11.92 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1282, allocations: 4 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1282, allocations: 0 / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.1283, allocations: 39.98 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.1285, allocations: 189.5 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1288, allocations: 127 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1289, allocations: 80.77 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.129, allocations: 4 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.129, allocations: 38.5 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.129, allocations: 0 / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000376/0.1294, allocations: 155.8 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.1295, allocations: 63.41 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1297, allocations: 152.3 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1297, allocations: 29.7 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.1298, allocations: 84.47 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1299, allocations: 15.89 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.1299, allocations: 41.7 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1301, allocations: 318.8 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.1302, allocations: 16 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1303, allocations: 125.7 kB / 360.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1305, allocations: 149.5 kB / 360.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.1305, allocations: 4 kB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002494/0.1308, allocations: 153.4 kB / 361 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.1308, allocations: 11.94 kB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1308, allocations: 4 kB / 361 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.1309, allocations: 7.938 kB / 361 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.134e-05/0.1309, allocations: 7.984 kB / 361 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1309, allocations: 7.938 kB / 361 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.131, allocations: 15.91 kB / 361 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.131, allocations: 8.344 kB / 361 MB, free: 9.914 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.0002374/0.1313, allocations: 149.6 kB / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.1315, allocations: 121.5 kB / 361.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.1315, allocations: 13.19 kB / 361.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1315, allocations: 7.984 kB / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1315, allocations: 0 / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1315, allocations: 0 / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1317, allocations: 185.5 kB / 361.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1317, allocations: 0 / 361.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.1317, allocations: 11.94 kB / 361.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1318, allocations: 3.938 kB / 361.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1318, allocations: 3.984 kB / 361.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1318, allocations: 7.938 kB / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1318, allocations: 0 / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.132, allocations: 152.2 kB / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.1321, allocations: 100.8 kB / 361.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1322, allocations: 11.98 kB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.1322, allocations: 4 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.1322, allocations: 0 / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1322, allocations: 8 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.914e-05/0.1323, allocations: 105.9 kB / 361.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1323, allocations: 3.938 kB / 361.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1326, allocations: 16 kB / 361.9 MB, free: 8.926 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.0007688/0.1333, allocations: 0.7461 MB / 362.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1336, allocations: 95.72 kB / 362.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1336, allocations: 5.062 kB / 362.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1336, allocations: 0 / 362.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1341, allocations: 83.89 kB / 362.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1358, allocations: 1.633 MB / 364.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1361, allocations: 0.7165 MB / 365.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.1362, allocations: 12.42 kB / 365.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.1362, allocations: 23.44 kB / 365.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1362, allocations: 0 / 365.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.1494, allocations: 2.222 MB / 367.5 MB, free: 3.309 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.1497, allocations: 228.7 kB / 367.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.926, allocations: 0 / 367.7 MB, free: 3.055 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