Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001372/0.001372, allocations: 97.5 kB / 16.5 MB, free: 6.648 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.00143/0.001431, allocations: 194.4 kB / 17.42 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.65/1.65, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 47.03 kB / 300.1 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 49.45 MB / 349.5 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002932/0.1251, allocations: 1.098 MB / 350.6 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003766/0.1255, allocations: 131.5 kB / 350.7 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1256, allocations: 4 kB / 350.7 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.1258, allocations: 7.875 kB / 350.7 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.1259, allocations: 15.84 kB / 350.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1261, allocations: 39.98 kB / 350.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1263, allocations: 63.77 kB / 350.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1264, allocations: 35.98 kB / 350.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1264, allocations: 27.92 kB / 350.9 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.1265, allocations: 23.8 kB / 350.9 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1265, allocations: 4 kB / 351 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.1266, allocations: 8 kB / 351 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.1266, allocations: 27.91 kB / 351 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.1267, allocations: 43.67 kB / 351 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1268, allocations: 79.64 kB / 351.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1269, allocations: 0 / 351.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1269, allocations: 0 / 351.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1269, allocations: 0 / 351.1 MB, free: 3.043 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.0005331/0.1274, allocations: 411.3 kB / 351.5 MB, free: 2.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1275, allocations: 12.03 kB / 351.5 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.1275, allocations: 38.75 kB / 351.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1276, allocations: 16.75 kB / 351.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1278, allocations: 204.6 kB / 351.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1278, allocations: 8.328 kB / 351.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1278, allocations: 12.38 kB / 351.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.1283, allocations: 225.7 kB / 352 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1283, allocations: 0 / 352 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1283, allocations: 4 kB / 352 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1283, allocations: 0 / 352 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.1284, allocations: 31.98 kB / 352 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1286, allocations: 189.5 kB / 352.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1288, allocations: 138.5 kB / 352.4 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1289, allocations: 80.8 kB / 352.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1289, allocations: 3.938 kB / 352.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.129, allocations: 34.56 kB / 352.5 MB, free: 1.488 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.129, allocations: 0 / 352.5 MB, free: 1.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003124/0.1293, allocations: 149.7 kB / 352.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.1294, allocations: 71.31 kB / 352.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1295, allocations: 143.7 kB / 352.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1295, allocations: 29.7 kB / 352.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.1296, allocations: 88.47 kB / 353 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1296, allocations: 11.98 kB / 353 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.1297, allocations: 29.66 kB / 353 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1298, allocations: 326.8 kB / 353.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.1299, allocations: 23.89 kB / 353.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.13, allocations: 117.7 kB / 353.5 MB, free: 420 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1301, allocations: 153.5 kB / 353.6 MB, free: 216 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1301, allocations: 3.938 kB / 353.6 MB, free: 212 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002259/0.1304, allocations: 157.2 kB / 353.8 MB, free: 48 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1304, allocations: 11.98 kB / 353.8 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1304, allocations: 4 kB / 353.8 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1304, allocations: 4.5 kB / 353.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1306, allocations: 28 kB / 353.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.1306, allocations: 11.98 kB / 353.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.1307, allocations: 19.78 kB / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1307, allocations: 12 kB / 353.9 MB, free: 15.96 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: 0 () * 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.0001097/0.1308, allocations: 133.7 kB / 354 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.1309, allocations: 117.5 kB / 354.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.131, allocations: 17.19 kB / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.131, allocations: 0 / 354.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.131, allocations: 3.984 kB / 354.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.131, allocations: 4 kB / 354.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1312, allocations: 193.5 kB / 354.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1312, allocations: 0 / 354.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.1313, allocations: 27.92 kB / 354.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1313, allocations: 0 / 354.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1313, allocations: 4 kB / 354.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1313, allocations: 7.938 kB / 354.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1313, allocations: 0 / 354.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.1315, allocations: 151.4 kB / 354.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.1316, allocations: 104.8 kB / 354.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1316, allocations: 11.98 kB / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.1317, allocations: 0 / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-06/0.1317, allocations: 0 / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1317, allocations: 4 kB / 354.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.1318, allocations: 116.6 kB / 354.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1318, allocations: 0 / 354.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.132, allocations: 16 kB / 354.7 MB, free: 14.96 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: 0 () * 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.0005719/0.1326, allocations: 0.7401 MB / 355.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1328, allocations: 92.66 kB / 355.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1328, allocations: 0 / 355.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.1328, allocations: 4.188 kB / 355.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1332, allocations: 83.39 kB / 355.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1347, allocations: 1.673 MB / 357.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.135, allocations: 0.7203 MB / 358.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.135, allocations: 8.641 kB / 358.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.1351, allocations: 34.42 kB / 358.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1351, allocations: 0 / 358.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2798/0.415, allocations: 2.238 MB / 360.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005479/0.4156, allocations: 240.8 kB / 360.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.354, allocations: 0 / 360.6 MB, free: 9.023 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches