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.001163/0.001163, allocations: 106.9 kB / 16.51 MB, free: 6.707 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.001221/0.001221, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.615/1.615, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 49.73 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1499, allocations: 49.43 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003176/0.1531, allocations: 0.98 MB / 350.5 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.1537, allocations: 127.5 kB / 350.6 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1538, allocations: 0 / 350.6 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.154, allocations: 11.92 kB / 350.6 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1541, allocations: 11.92 kB / 350.6 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1545, allocations: 39.91 kB / 350.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1546, allocations: 63.83 kB / 350.7 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1548, allocations: 36.22 kB / 350.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.1548, allocations: 23.92 kB / 350.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.1549, allocations: 27.8 kB / 350.8 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1549, allocations: 4 kB / 350.8 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.1549, allocations: 4 kB / 350.8 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.155, allocations: 27.91 kB / 350.8 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.1551, allocations: 43.72 kB / 350.9 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1553, allocations: 71.7 kB / 351 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1553, allocations: 4 kB / 351 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1553, allocations: 0 / 351 MB, free: 3.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1553, allocations: 0 / 351 MB, free: 3.281 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.0006186/0.1559, allocations: 395.2 kB / 351.4 MB, free: 2.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.156, allocations: 12.03 kB / 351.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.3e-05/0.1561, allocations: 38.73 kB / 351.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1562, allocations: 16.84 kB / 351.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1564, allocations: 200.1 kB / 351.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1565, allocations: 12.33 kB / 351.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1565, allocations: 8.375 kB / 351.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.157, allocations: 214.8 kB / 351.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.157, allocations: 7.938 kB / 351.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.157, allocations: 4 kB / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1571, allocations: 3.938 kB / 351.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1572, allocations: 31.98 kB / 351.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.1574, allocations: 193.5 kB / 352.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1577, allocations: 134 kB / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1578, allocations: 73.2 kB / 352.3 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1578, allocations: 7.984 kB / 352.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1579, allocations: 34.56 kB / 352.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1579, allocations: 0 / 352.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003683/0.1582, allocations: 157.4 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.1583, allocations: 59.41 kB / 352.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1585, allocations: 148.4 kB / 352.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1585, allocations: 33.62 kB / 352.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1586, allocations: 88.47 kB / 352.8 MB, free: 1.238 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1586, allocations: 7.906 kB / 352.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.1587, allocations: 41.7 kB / 352.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1589, allocations: 322.8 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.1589, allocations: 15.98 kB / 353.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1591, allocations: 121.7 kB / 353.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1593, allocations: 153.5 kB / 353.4 MB, free: 488 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1593, allocations: 4 kB / 353.5 MB, free: 484 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002553/0.1596, allocations: 157.2 kB / 353.6 MB, free: 320 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1596, allocations: 11.94 kB / 353.6 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1596, allocations: 4 kB / 353.6 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.1596, allocations: 4 kB / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.1597, allocations: 12.42 kB / 353.6 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1597, allocations: 12 kB / 353.6 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.1598, allocations: 11.91 kB / 353.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1598, allocations: 8 kB / 353.7 MB, free: 256 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.0002159/0.16, allocations: 137.7 kB / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.1602, allocations: 124.6 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.1603, allocations: 17.19 kB / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1603, allocations: 0 / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1603, allocations: 0 / 353.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1603, allocations: 7.984 kB / 353.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1605, allocations: 181.5 kB / 354.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1605, allocations: 7.984 kB / 354.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.1606, allocations: 7.938 kB / 354.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1606, allocations: 3.938 kB / 354.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1606, allocations: 4 kB / 354.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1606, allocations: 3.938 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1606, allocations: 0 / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1608, allocations: 152.9 kB / 354.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.1609, allocations: 104.9 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.161, allocations: 4 kB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.161, allocations: 0 / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-06/0.161, allocations: 0 / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.161, allocations: 4 kB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.1611, allocations: 117.8 kB / 354.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.215e-06/0.1611, allocations: 0 / 354.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1614, allocations: 19.94 kB / 354.5 MB, free: 15.27 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.0006728/0.1621, allocations: 0.7455 MB / 355.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1623, allocations: 96.66 kB / 355.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1623, allocations: 4.125 kB / 355.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.1623, allocations: 0 / 355.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1627, allocations: 87.16 kB / 355.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1646, allocations: 1.644 MB / 357.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.1651, allocations: 0.7087 MB / 357.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.1651, allocations: 12.58 kB / 357.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.1652, allocations: 27.44 kB / 357.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1652, allocations: 0 / 357.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.1989, allocations: 2.207 MB / 360.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004097/0.1994, allocations: 231.8 kB / 360.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.159, allocations: 3.938 kB / 360.3 MB, free: 9.402 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