Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 112.9 kB / 18.41 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 55.89 kB / 358.6 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1331, allocations: 49.44 MB / 408.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004443/0.1376, allocations: 2.678 MB / 410.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1393, allocations: 0.9114 MB / 411.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1395, allocations: 11.94 kB / 411.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1398, allocations: 55.39 kB / 411.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.14, allocations: 59.45 kB / 411.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.1407, allocations: 250.8 kB / 412 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.1412, allocations: 374.9 kB / 412.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.1415, allocations: 188.8 kB / 412.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1417, allocations: 143.3 kB / 412.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1419, allocations: 143.3 kB / 412.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.142, allocations: 28 kB / 412.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1421, allocations: 83.88 kB / 413 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1423, allocations: 75.77 kB / 413 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1424, allocations: 163.1 kB / 413.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.143, allocations: 422.1 kB / 413.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.143, allocations: 0 / 413.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.143, allocations: 0 / 413.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.143, allocations: 0 / 413.6 MB, free: 1.262 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00114/0.1442, allocations: 0.6505 MB / 414.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1442, allocations: 11.89 kB / 414.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.1443, allocations: 44.66 kB / 414.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.1448, allocations: 332.1 kB / 414.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1449, allocations: 28.94 kB / 414.7 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.1449, allocations: 24.38 kB / 414.7 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.1464, allocations: 0.7444 MB / 415.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1464, allocations: 4 kB / 415.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1464, allocations: 11.94 kB / 415.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1465, allocations: 12 kB / 415.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.1471, allocations: 215.8 kB / 415.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.148, allocations: 0.78 MB / 416.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.1492, allocations: 0.6268 MB / 417.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.1497, allocations: 270.8 kB / 417.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/0.1504, allocations: 0.6051 MB / 418 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1505, allocations: 38.56 kB / 418 MB, free: 12.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.1505, allocations: 0 / 418 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001295/0.1518, allocations: 0.5205 MB / 418.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.1519, allocations: 215.7 kB / 418.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1522, allocations: 250.8 kB / 419 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.1523, allocations: 41.81 kB / 419 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1524, allocations: 152.8 kB / 419.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.1525, allocations: 51.72 kB / 419.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1526, allocations: 78.25 kB / 419.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1528, allocations: 346.8 kB / 419.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.153, allocations: 93 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.1535, allocations: 431 kB / 420.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.1543, allocations: 0.5242 MB / 420.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.1543, allocations: 4 kB / 420.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008939/0.1552, allocations: 0.4938 MB / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.1552, allocations: 8 kB / 421.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1553, allocations: 12 kB / 421.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.1553, allocations: 20.03 kB / 421.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.1557, allocations: 119.8 kB / 421.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.707e-05/0.1557, allocations: 23.92 kB / 421.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.156, allocations: 51.72 kB / 421.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.156, allocations: 32 kB / 421.4 MB, free: 8.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.000318/0.1564, allocations: 185.5 kB / 421.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007163/0.1571, allocations: 350.6 kB / 421.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.1578, allocations: 356.9 kB / 422.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1578, allocations: 8 kB / 422.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1579, allocations: 480 / 422.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1579, allocations: 3.984 kB / 422.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.1583, allocations: 345.1 kB / 422.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1583, allocations: 4 kB / 422.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.1587, allocations: 99.88 kB / 422.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.1588, allocations: 7.938 kB / 422.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.1588, allocations: 15.92 kB / 422.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1588, allocations: 0 / 422.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1588, allocations: 7.984 kB / 422.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.1602, allocations: 0.7749 MB / 423.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.1603, allocations: 112.9 kB / 423.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.1603, allocations: 19.98 kB / 423.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1606, allocations: 31.98 kB / 423.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1607, allocations: 7.922 kB / 423.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.1607, allocations: 16 kB / 423.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1609, allocations: 182 kB / 423.9 MB, free: 6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1609, allocations: 0 / 423.9 MB, free: 6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000562/0.1615, allocations: 75.94 kB / 424 MB, free: 5.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002253/0.1617, allocations: 127.1 kB / 424.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.1625, allocations: 356.7 kB / 424.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1625, allocations: 0 / 424.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1626, allocations: 33.22 kB / 424.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.1637, allocations: 313.8 kB / 424.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1653, allocations: 0.7983 MB / 425.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.1658, allocations: 0.8081 MB / 426.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.1659, allocations: 31.42 kB / 426.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1659, allocations: 0 / 426.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of Templates: time 0.2018/0.3677, allocations: 4.5 MB / 430.9 MB, free: 21.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.042270336998627]