Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001075/0.001075, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 55.25 kB / 307.1 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002455/0.1248, allocations: 0.8897 MB / 358.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.1252, allocations: 143.5 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1254, allocations: 8 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1255, allocations: 7.875 kB / 358.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.1257, allocations: 27.84 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.1259, allocations: 39.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.126, allocations: 63.84 kB / 358.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1262, allocations: 51.95 kB / 358.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.1262, allocations: 23.81 kB / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.1263, allocations: 39.83 kB / 358.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1264, allocations: 8 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.1264, allocations: 4 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.1264, allocations: 31.91 kB / 358.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.1265, allocations: 47.67 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1267, allocations: 87.64 kB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1267, allocations: 4 kB / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1267, allocations: 0 / 359 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1267, allocations: 0 / 359 MB, free: 12.52 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.0006353/0.1274, allocations: 419.2 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1274, allocations: 8.031 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.1275, allocations: 38.75 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1275, allocations: 16.75 kB / 359.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1278, allocations: 208 kB / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1278, allocations: 12.38 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1278, allocations: 8.359 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.1282, allocations: 242 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1283, allocations: 3.938 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1283, allocations: 7.938 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1283, allocations: 4 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.7e-05/0.1284, allocations: 43.97 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1286, allocations: 193.6 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1288, allocations: 146.9 kB / 360.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.129, allocations: 88.75 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.129, allocations: 4 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.129, allocations: 34.56 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.129, allocations: 0 / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003371/0.1294, allocations: 179.9 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1295, allocations: 63.41 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1296, allocations: 165.2 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1297, allocations: 29.7 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.1297, allocations: 92.47 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1297, allocations: 11.98 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.1298, allocations: 41.61 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.13, allocations: 318.8 kB / 361.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.13, allocations: 23.98 kB / 361.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1301, allocations: 121.7 kB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1303, allocations: 153.5 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1303, allocations: 4 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002261/0.1305, allocations: 161.2 kB / 361.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1306, allocations: 7.938 kB / 361.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1306, allocations: 8 kB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1306, allocations: 4 kB / 361.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1307, allocations: 39.86 kB / 361.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1308, allocations: 7.938 kB / 361.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.1308, allocations: 16.34 kB / 361.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1308, allocations: 12 kB / 361.9 MB, free: 9.312 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.0001182/0.131, allocations: 145.7 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.1311, allocations: 141.3 kB / 362.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.1312, allocations: 17.19 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1312, allocations: 4 kB / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1312, allocations: 0 / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1312, allocations: 0 / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1314, allocations: 193.6 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1314, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1315, allocations: 23.98 kB / 362.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1315, allocations: 3.938 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1315, allocations: 11.94 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1316, allocations: 0 / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1316, allocations: 0 / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1318, allocations: 167.2 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1319, allocations: 105 kB / 362.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1319, allocations: 3.938 kB / 362.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.132, allocations: 8 kB / 362.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.132, allocations: 0 / 362.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.132, allocations: 11.92 kB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.1321, allocations: 119.1 kB / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1323, allocations: 20 kB / 362.9 MB, free: 8.254 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.000655/0.133, allocations: 0.7772 MB / 363.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1332, allocations: 116.5 kB / 363.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1332, allocations: 4.25 kB / 363.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1332, allocations: 4 kB / 363.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1337, allocations: 99.28 kB / 363.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1354, allocations: 1.706 MB / 365.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1357, allocations: 0.7162 MB / 366.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.1357, allocations: 9.078 kB / 366.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.1358, allocations: 31.44 kB / 366.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1358, allocations: 4 kB / 366.3 MB, free: 4.551 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1555, allocations: 2.572 MB / 368.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.132, allocations: 16.38 kB / 368.9 MB, free: 2.094 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches