Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00115/0.00115, allocations: 108 kB / 16.92 MB, free: 5.676 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.001065/0.001065, allocations: 190.1 kB / 17.85 MB, free: 5.176 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.399/1.399, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 49.7 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002644/0.1292, allocations: 0.9034 MB / 351.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.1297, allocations: 143.5 kB / 351.2 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1298, allocations: 7.938 kB / 351.2 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.13, allocations: 11.86 kB / 351.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1302, allocations: 11.92 kB / 351.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1304, allocations: 51.88 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1306, allocations: 63.78 kB / 351.3 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.1308, allocations: 39.98 kB / 351.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.1308, allocations: 27.86 kB / 351.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1309, allocations: 43.83 kB / 351.5 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.131, allocations: 4 kB / 351.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.131, allocations: 8 kB / 351.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.1311, allocations: 27.92 kB / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.1311, allocations: 43.67 kB / 351.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1313, allocations: 87.64 kB / 351.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1313, allocations: 0 / 351.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1313, allocations: 3.938 kB / 351.6 MB, free: 2.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1313, allocations: 0 / 351.6 MB, free: 2.875 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.0006547/0.132, allocations: 423.2 kB / 352 MB, free: 2.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1321, allocations: 8.031 kB / 352.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1321, allocations: 42.75 kB / 352.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.1322, allocations: 20.73 kB / 352.1 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1324, allocations: 204.1 kB / 352.3 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1325, allocations: 12.27 kB / 352.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1325, allocations: 8.375 kB / 352.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.133, allocations: 238.5 kB / 352.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.133, allocations: 3.938 kB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.133, allocations: 4 kB / 352.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.133, allocations: 4 kB / 352.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.1331, allocations: 51.89 kB / 352.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1333, allocations: 197.5 kB / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1336, allocations: 150.6 kB / 353 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1337, allocations: 80.81 kB / 353 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1337, allocations: 4 kB / 353.1 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1337, allocations: 34.56 kB / 353.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.1337, allocations: 0 / 353.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000319/0.1341, allocations: 173.6 kB / 353.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1341, allocations: 67.41 kB / 353.3 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1343, allocations: 165.8 kB / 353.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1343, allocations: 25.7 kB / 353.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.1344, allocations: 96.41 kB / 353.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1344, allocations: 11.98 kB / 353.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.1344, allocations: 41.61 kB / 353.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1346, allocations: 322.8 kB / 354 MB, free: 320 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.1346, allocations: 27.98 kB / 354 MB, free: 292 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.1347, allocations: 109.7 kB / 354.1 MB, free: 132 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1349, allocations: 161.5 kB / 354.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1349, allocations: 4 kB / 354.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002331/0.1352, allocations: 157.2 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1352, allocations: 8.438 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1352, allocations: 7.938 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1352, allocations: 12 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1354, allocations: 35.92 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1354, allocations: 7.984 kB / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1354, allocations: 11.84 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1355, allocations: 12 kB / 354.5 MB, free: 15.66 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001459/0.1356, allocations: 146.3 kB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.1358, allocations: 149.3 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.1359, allocations: 21.19 kB / 354.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1359, allocations: 7.984 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1359, allocations: 0 / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1359, allocations: 0 / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.1361, allocations: 185.6 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1361, allocations: 0 / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1362, allocations: 23.98 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1362, allocations: 3.938 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1362, allocations: 8 kB / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1362, allocations: 0 / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1362, allocations: 4 kB / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1364, allocations: 179.4 kB / 355.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1365, allocations: 97 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1365, allocations: 3.938 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.1366, allocations: 8 kB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-06/0.1366, allocations: 0 / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1366, allocations: 4 kB / 355.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.495e-05/0.1367, allocations: 119.2 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1367, allocations: 4 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000255/0.137, allocations: 20 kB / 355.5 MB, free: 14.6 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0006039/0.1376, allocations: 0.776 MB / 356.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1378, allocations: 123 kB / 356.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1378, allocations: 0 / 356.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.1378, allocations: 0 / 356.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1382, allocations: 89.94 kB / 356.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1398, allocations: 1.707 MB / 358.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.14, allocations: 0.7162 MB / 358.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.1401, allocations: 13.03 kB / 358.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.1402, allocations: 35.42 kB / 358.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1402, allocations: 0 / 358.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06026/0.2004, allocations: 2.58 MB / 361.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.36, allocations: 6.891 kB / 361.5 MB, free: 8.453 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches