Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002083/0.002083, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002707/0.002707, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.726/1.726, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1454, allocations: 53.37 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002905/0.1483, allocations: 1.042 MB / 428.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004651/0.1488, allocations: 127.6 kB / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1489, allocations: 7.938 kB / 428.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1491, allocations: 11.86 kB / 428.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1492, allocations: 15.86 kB / 428.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1495, allocations: 43.91 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1497, allocations: 71.81 kB / 428.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1498, allocations: 31.97 kB / 428.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.1499, allocations: 35.8 kB / 428.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.15, allocations: 31.78 kB / 428.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.15, allocations: 8 kB / 428.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.15, allocations: 4 kB / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.1501, allocations: 23.92 kB / 428.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.1502, allocations: 43.67 kB / 428.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1504, allocations: 95.5 kB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1504, allocations: 0 / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1504, allocations: 4 kB / 428.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1504, allocations: 0 / 428.7 MB, free: 3.031 MB / 350.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.0005945/0.151, allocations: 403 kB / 429 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.151, allocations: 8.031 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.221e-05/0.151, allocations: 12.08 kB / 429.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.1511, allocations: 34.75 kB / 429.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1511, allocations: 16.89 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1515, allocations: 211.5 kB / 429.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1515, allocations: 12.33 kB / 429.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1515, allocations: 8.125 kB / 429.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.152, allocations: 217.3 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.152, allocations: 0 / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.152, allocations: 3.938 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.152, allocations: 4 kB / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.405e-05/0.1521, allocations: 31.98 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.1523, allocations: 193.6 kB / 429.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1526, allocations: 119 kB / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1527, allocations: 79.09 kB / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1527, allocations: 0 / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1527, allocations: 34.56 kB / 430 MB, free: 1.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.1527, allocations: 0 / 430 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003904/0.1531, allocations: 149.5 kB / 430.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/0.1532, allocations: 67.34 kB / 430.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1534, allocations: 146.4 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1534, allocations: 25.7 kB / 430.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.1535, allocations: 96.45 kB / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1535, allocations: 0 / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1536, allocations: 41.66 kB / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1537, allocations: 322.8 kB / 430.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.1538, allocations: 16 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1539, allocations: 129.2 kB / 431 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1541, allocations: 149.5 kB / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1541, allocations: 0 / 431.1 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000241/0.1543, allocations: 157.3 kB / 431.3 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1544, allocations: 7.938 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1544, allocations: 4 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.1544, allocations: 8.5 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1545, allocations: 39.92 kB / 431.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.839e-05/0.1546, allocations: 7.984 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.1546, allocations: 11.95 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1547, allocations: 8 kB / 431.4 MB, free: 15.97 MB / 366.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.0001445/0.1548, allocations: 141.6 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.155, allocations: 117.5 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.155, allocations: 17.17 kB / 431.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1551, allocations: 4 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1551, allocations: 0 / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1551, allocations: 4 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1553, allocations: 189.6 kB / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1553, allocations: 4 kB / 431.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1554, allocations: 27.92 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1554, allocations: 3.984 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1554, allocations: 3.938 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1554, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1554, allocations: 4 kB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1557, allocations: 162.4 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1558, allocations: 104.9 kB / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1558, allocations: 0 / 432.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.1558, allocations: 8 kB / 432.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-06/0.1558, allocations: 0 / 432.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1558, allocations: 4 kB / 432.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.1559, allocations: 110.4 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1559, allocations: 0 / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1562, allocations: 20 kB / 432.3 MB, free: 14.97 MB / 366.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.0007993/0.157, allocations: 0.7349 MB / 433 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1572, allocations: 92.59 kB / 433.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1572, allocations: 0 / 433.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.1572, allocations: 4.188 kB / 433.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1577, allocations: 71.92 kB / 433.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1596, allocations: 1.677 MB / 434.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.16, allocations: 0.7123 MB / 435.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.1601, allocations: 12.64 kB / 435.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.1601, allocations: 23.44 kB / 435.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1601, allocations: 0 / 435.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.181, allocations: 2.527 MB / 438.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.31, allocations: 6.562 kB / 438.1 MB, free: 9.039 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,add1.k1,add1.k2,add1.u1,add1.u2,add1.y,assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 11.472965922032017]