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.001875/0.001875, allocations: 104 kB / 16.62 MB, free: 6.805 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.002227/0.002227, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.504/1.504, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 51.92 kB / 300.2 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 49.45 MB / 349.7 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003397/0.126, allocations: 0.9482 MB / 350.6 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.1267, allocations: 147.5 kB / 350.8 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1269, allocations: 8 kB / 350.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1272, allocations: 7.938 kB / 350.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1274, allocations: 7.922 kB / 350.8 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1278, allocations: 46.03 kB / 350.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.128, allocations: 67.83 kB / 350.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1282, allocations: 51.89 kB / 351 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.1283, allocations: 19.92 kB / 351 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1285, allocations: 47.78 kB / 351 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.1285, allocations: 4 kB / 351 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.1285, allocations: 4 kB / 351 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.1286, allocations: 31.91 kB / 351.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.1287, allocations: 47.67 kB / 351.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.129, allocations: 91.64 kB / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.129, allocations: 0 / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.129, allocations: 0 / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.129, allocations: 0 / 351.2 MB, free: 3.113 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.0009452/0.13, allocations: 415.2 kB / 351.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.08e-05/0.1301, allocations: 12.03 kB / 351.6 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.1302, allocations: 38.75 kB / 351.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.1302, allocations: 12.75 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1306, allocations: 212 kB / 351.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1306, allocations: 16.27 kB / 351.9 MB, free: 2.324 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1306, allocations: 12.38 kB / 351.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.1312, allocations: 230.3 kB / 352.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1313, allocations: 3.938 kB / 352.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1313, allocations: 0 / 352.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1313, allocations: 4 kB / 352.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1314, allocations: 51.97 kB / 352.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1318, allocations: 193.5 kB / 352.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1321, allocations: 150.5 kB / 352.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1322, allocations: 84.81 kB / 352.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1323, allocations: 4 kB / 352.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.1323, allocations: 34.56 kB / 352.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/0.1323, allocations: 0 / 352.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004107/0.1328, allocations: 181.5 kB / 352.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.1329, allocations: 59.41 kB / 352.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1331, allocations: 165.8 kB / 353 MB, free: 1.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1331, allocations: 29.7 kB / 353.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.1332, allocations: 96.47 kB / 353.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1332, allocations: 7.984 kB / 353.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.1333, allocations: 45.61 kB / 353.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1334, allocations: 322.8 kB / 353.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.1335, allocations: 19.98 kB / 353.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1336, allocations: 124.3 kB / 353.7 MB, free: 380 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1338, allocations: 153.5 kB / 353.8 MB, free: 176 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1338, allocations: 3.984 kB / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002359/0.134, allocations: 157.3 kB / 354 MB, free: 8 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.1341, allocations: 12.14 kB / 354 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1341, allocations: 7.938 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1342, allocations: 8 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1343, allocations: 27.98 kB / 354 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1343, allocations: 11.94 kB / 354.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1344, allocations: 20.22 kB / 354.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1344, allocations: 12 kB / 354.1 MB, free: 15.91 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.0001611/0.1346, allocations: 141.8 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.1348, allocations: 137.4 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.1349, allocations: 25.11 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1349, allocations: 0 / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.1349, allocations: 3.984 kB / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1349, allocations: 0 / 354.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1351, allocations: 193.6 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1351, allocations: 4 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1353, allocations: 31.92 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1353, allocations: 0 / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1353, allocations: 3.938 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1353, allocations: 0 / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1353, allocations: 4 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1356, allocations: 167.5 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1357, allocations: 101 kB / 354.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1357, allocations: 11.94 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.1358, allocations: 0 / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-06/0.1358, allocations: 0 / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1358, allocations: 8 kB / 354.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1359, allocations: 119.2 kB / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1359, allocations: 0 / 355 MB, free: 14.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1362, allocations: 16 kB / 355 MB, free: 14.86 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.0008157/0.137, allocations: 0.7762 MB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1373, allocations: 120.6 kB / 355.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1373, allocations: 0 / 355.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.1373, allocations: 128 / 355.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.1378, allocations: 103.2 kB / 356 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.1401, allocations: 1.737 MB / 357.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.1406, allocations: 0.7201 MB / 358.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.1407, allocations: 9.078 kB / 358.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1408, allocations: 31.42 kB / 358.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1408, allocations: 0 / 358.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.1574, allocations: 2.498 MB / 361 MB, free: 8.805 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.1577, allocations: 235.9 kB / 361.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.219, allocations: 3.875 kB / 361.3 MB, free: 8.547 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