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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001186/0.001185, allocations: 90.2 kB / 16.65 MB, free: 6.258 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.00136/0.00136, allocations: 179.4 kB / 17.56 MB, free: 5.875 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.688/1.688, allocations: 223.3 MB / 241.6 MB, free: 176 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 4 kB / 301.5 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 50.41 MB / 351.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001722/0.1395, allocations: 0.6288 MB / 352.6 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005253/0.14, allocations: 131.5 kB / 352.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1402, allocations: 8 kB / 352.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1403, allocations: 3.938 kB / 352.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1405, allocations: 7.984 kB / 352.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1408, allocations: 39.91 kB / 352.8 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.141, allocations: 59.83 kB / 352.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.1413, allocations: 48.14 kB / 352.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.1413, allocations: 11.94 kB / 352.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.1414, allocations: 27.73 kB / 352.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1414, allocations: 0 / 352.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.1415, allocations: 4 kB / 352.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1416, allocations: 23.91 kB / 352.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1417, allocations: 53.45 kB / 353 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1419, allocations: 75.69 kB / 353.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1419, allocations: 0 / 353.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1419, allocations: 0 / 353.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1419, allocations: 4 kB / 353.1 MB, free: 2.465 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.0006572/0.1426, allocations: 379.4 kB / 353.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.673e-05/0.1427, allocations: 8.031 kB / 353.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.1427, allocations: 38.75 kB / 353.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.1428, allocations: 12.75 kB / 353.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1431, allocations: 204.1 kB / 353.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1431, allocations: 16.33 kB / 353.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1432, allocations: 4.375 kB / 353.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.1437, allocations: 218.4 kB / 353.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1438, allocations: 3.938 kB / 353.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1438, allocations: 0 / 353.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1438, allocations: 4 kB / 353.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1439, allocations: 39.92 kB / 354 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1442, allocations: 193.5 kB / 354.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.1444, allocations: 122.6 kB / 354.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1446, allocations: 85.12 kB / 354.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1446, allocations: 4 kB / 354.4 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1446, allocations: 34.56 kB / 354.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1447, allocations: 0 / 354.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004067/0.1451, allocations: 157.4 kB / 354.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.1452, allocations: 63.31 kB / 354.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1454, allocations: 144.6 kB / 354.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1454, allocations: 33.7 kB / 354.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.1455, allocations: 84.47 kB / 354.9 MB, free: 448 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.1455, allocations: 15.89 kB / 354.9 MB, free: 432 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.1456, allocations: 25.72 kB / 354.9 MB, free: 400 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1458, allocations: 318.8 kB / 355.2 MB, free: 72 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.1459, allocations: 19.98 kB / 355.2 MB, free: 52 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.146, allocations: 121.7 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1462, allocations: 153.4 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1462, allocations: 0 / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002719/0.1465, allocations: 161.7 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.1466, allocations: 7.938 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1466, allocations: 7.938 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.1466, allocations: 8 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.1467, allocations: 7.938 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.1467, allocations: 4 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.1468, allocations: 11.91 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1468, allocations: 8 kB / 355.7 MB, free: 15.46 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.0002104/0.147, allocations: 149.8 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.1472, allocations: 124.5 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1473, allocations: 17.19 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1473, allocations: 4 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1473, allocations: 3.984 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1473, allocations: 0 / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.1475, allocations: 185.5 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1475, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.1475, allocations: 4 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1475, allocations: 3.938 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1475, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1476, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1476, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1478, allocations: 148.9 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.1479, allocations: 104.9 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.1479, allocations: 8 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.148, allocations: 0 / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-06/0.148, allocations: 0 / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.148, allocations: 16 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.526e-05/0.1481, allocations: 109.8 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1483, allocations: 16 kB / 356.6 MB, free: 14.48 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.0007817/0.1491, allocations: 0.7522 MB / 357.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1493, allocations: 95.77 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1494, allocations: 0 / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.1494, allocations: 4 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1498, allocations: 83.94 kB / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1515, allocations: 1.645 MB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1519, allocations: 0.7087 MB / 359.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.152, allocations: 12.64 kB / 359.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.1521, allocations: 27.42 kB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1521, allocations: 0 / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.1673, allocations: 2.127 MB / 362.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/0.1676, allocations: 235.2 kB / 362.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.147, allocations: 0 / 362.3 MB, free: 8.719 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > 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/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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches