Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 124 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002284/0.002284, allocations: 209.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 47.92 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1128, allocations: 53.34 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004877/0.1177, allocations: 2.716 MB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1198, allocations: 0.9466 MB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.1201, allocations: 7.938 kB / 431.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1203, allocations: 63.31 kB / 431.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1206, allocations: 79.38 kB / 431.3 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.1214, allocations: 235.5 kB / 431.5 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.1219, allocations: 374.9 kB / 431.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.1222, allocations: 132.8 kB / 432 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1223, allocations: 143.4 kB / 432.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1225, allocations: 147.3 kB / 432.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.1226, allocations: 35.98 kB / 432.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1227, allocations: 71.89 kB / 432.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1228, allocations: 79.7 kB / 432.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.123, allocations: 163.1 kB / 432.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.1235, allocations: 422.1 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1235, allocations: 3.938 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1235, allocations: 3.938 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1236, allocations: 0 / 433 MB, free: 14.7 MB / 366.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.001177/0.1247, allocations: 0.6544 MB / 433.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1248, allocations: 8.031 kB / 433.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/0.1249, allocations: 40.7 kB / 433.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.1254, allocations: 336.1 kB / 434.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.1254, allocations: 16.94 kB / 434.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.1255, allocations: 32.38 kB / 434.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.1269, allocations: 0.7364 MB / 434.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1269, allocations: 4 kB / 434.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.1269, allocations: 15.92 kB / 434.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1269, allocations: 8 kB / 434.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.1275, allocations: 219.8 kB / 435.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.1285, allocations: 0.78 MB / 435.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1296, allocations: 0.5912 MB / 436.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.13, allocations: 239.3 kB / 436.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007091/0.1307, allocations: 0.5971 MB / 437.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.1308, allocations: 38.56 kB / 437.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/0.1308, allocations: 0 / 437.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.0013/0.1321, allocations: 0.5283 MB / 437.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.1322, allocations: 203.9 kB / 438.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1325, allocations: 258.8 kB / 438.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1326, allocations: 33.7 kB / 438.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1327, allocations: 152.9 kB / 438.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.1327, allocations: 51.72 kB / 438.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1328, allocations: 82.25 kB / 438.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.133, allocations: 342.8 kB / 439 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1332, allocations: 89.17 kB / 439.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.1337, allocations: 438.9 kB / 439.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.1343, allocations: 0.5242 MB / 440 MB, free: 6.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.1343, allocations: 4 kB / 440 MB, free: 6.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008195/0.1352, allocations: 0.4941 MB / 440.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1352, allocations: 12 kB / 440.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.1352, allocations: 16.16 kB / 440.5 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.1352, allocations: 16 kB / 440.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1356, allocations: 115.8 kB / 440.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.1356, allocations: 23.92 kB / 440.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.1359, allocations: 51.72 kB / 440.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.1359, allocations: 31.98 kB / 440.8 MB, free: 6.129 MB / 366.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.0002286/0.1361, allocations: 193.5 kB / 441 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006674/0.1368, allocations: 350 kB / 441.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.1375, allocations: 356.7 kB / 441.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1375, allocations: 4 kB / 441.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1375, allocations: 4 kB / 441.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1375, allocations: 7.984 kB / 441.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.138, allocations: 337.2 kB / 442 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.138, allocations: 4 kB / 442 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.1384, allocations: 99.88 kB / 442.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1384, allocations: 4 kB / 442.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.1384, allocations: 19.92 kB / 442.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1384, allocations: 4 kB / 442.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1384, allocations: 0 / 442.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.1398, allocations: 0.7864 MB / 442.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.834e-05/0.1399, allocations: 116.8 kB / 443 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.1399, allocations: 15.98 kB / 443 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.1402, allocations: 23.98 kB / 443.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1402, allocations: 11.92 kB / 443.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.1403, allocations: 12 kB / 443.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1405, allocations: 186 kB / 443.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1405, allocations: 0 / 443.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005468/0.141, allocations: 79.94 kB / 443.3 MB, free: 3.438 MB / 366.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.0002011/0.1412, allocations: 127.1 kB / 443.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.142, allocations: 348.9 kB / 443.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.142, allocations: 1.75 kB / 443.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1421, allocations: 32.05 kB / 443.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.1432, allocations: 304.1 kB / 444.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1448, allocations: 0.7828 MB / 444.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.1453, allocations: 0.8119 MB / 445.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.1454, allocations: 35.42 kB / 445.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1454, allocations: 0 / 445.8 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of Templates: time 0.2607/0.4061, allocations: 4.505 MB / 450.3 MB, free: 23.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.324990120017901]