Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.002067/0.002067, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002528/0.002528, allocations: 159.9 kB / 24.49 MB, free: 3.453 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.449/1.449, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.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: 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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 61.67 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1069, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004356/0.1113, allocations: 2.551 MB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1131, allocations: 0.8998 MB / 382.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1133, allocations: 15.88 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1135, allocations: 67.31 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1137, allocations: 67.5 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.1145, allocations: 239.5 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.1149, allocations: 374.9 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.1152, allocations: 133.3 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1153, allocations: 139.4 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1155, allocations: 135.2 kB / 383.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.1156, allocations: 28 kB / 383.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1157, allocations: 71.95 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1158, allocations: 87.62 kB / 383.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.116, allocations: 127.3 kB / 383.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.1166, allocations: 426.1 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1166, allocations: 3.938 kB / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1166, allocations: 0 / 384.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1166, allocations: 0 / 384.2 MB, free: 10.13 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001093/0.1177, allocations: 0.5714 MB / 384.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1177, allocations: 12.03 kB / 384.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.1178, allocations: 44.7 kB / 384.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.1182, allocations: 273.8 kB / 385.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1183, allocations: 21.03 kB / 385.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.1183, allocations: 32.38 kB / 385.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1197, allocations: 0.7924 MB / 386 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1198, allocations: 4 kB / 386 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.1198, allocations: 12 kB / 386 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1198, allocations: 4 kB / 386 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.1204, allocations: 223.7 kB / 386.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.1213, allocations: 0.6065 MB / 386.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1223, allocations: 457 kB / 387.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.1228, allocations: 239.2 kB / 387.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.1232, allocations: 71.7 kB / 387.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1232, allocations: 54.44 kB / 387.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/0.1232, allocations: 0 / 387.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001263/0.1245, allocations: 0.5166 MB / 388.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.1247, allocations: 213.1 kB / 388.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1249, allocations: 249.9 kB / 388.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.125, allocations: 37.7 kB / 388.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1251, allocations: 152.8 kB / 388.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1252, allocations: 51.83 kB / 388.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.1253, allocations: 82.19 kB / 388.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.1256, allocations: 346.8 kB / 389.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1258, allocations: 84.94 kB / 389.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.1263, allocations: 489.5 kB / 389.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.1271, allocations: 0.5285 MB / 390.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.1271, allocations: 4 kB / 390.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008213/0.1279, allocations: 0.5008 MB / 390.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.128, allocations: 12 kB / 390.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.128, allocations: 12.84 kB / 390.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.128, allocations: 12 kB / 390.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.1283, allocations: 123.8 kB / 391 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/0.1284, allocations: 23.92 kB / 391 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1286, allocations: 47.77 kB / 391.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.1287, allocations: 32 kB / 391.1 MB, free: 2.625 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.0002371/0.1289, allocations: 191.5 kB / 391.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/0.1296, allocations: 345 kB / 391.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.1303, allocations: 360.7 kB / 392 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1303, allocations: 4 kB / 392 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1303, allocations: 4 kB / 392 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1303, allocations: 7.922 kB / 392 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1307, allocations: 217 kB / 392.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.1307, allocations: 7.922 kB / 392.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.1311, allocations: 103.9 kB / 392.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1311, allocations: 7.938 kB / 392.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.1311, allocations: 12 kB / 392.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1311, allocations: 0 / 392.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1311, allocations: 4 kB / 392.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.1325, allocations: 0.7767 MB / 393.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.1325, allocations: 47.62 kB / 393.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.1326, allocations: 15.94 kB / 393.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1328, allocations: 23.97 kB / 393.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1329, allocations: 4 kB / 393.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.1329, allocations: 12 kB / 393.2 MB, free: 440 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.1331, allocations: 189.2 kB / 393.4 MB, free: 252 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1331, allocations: 0 / 393.4 MB, free: 252 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.1336, allocations: 71.95 kB / 393.5 MB, free: 180 kB / 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.000178/0.1338, allocations: 139 kB / 393.6 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007473/0.1345, allocations: 356.5 kB / 393.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1345, allocations: 0 / 393.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.1346, allocations: 25.55 kB / 394 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.1356, allocations: 294.9 kB / 394.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1371, allocations: 0.7549 MB / 395 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1374, allocations: 206.5 kB / 395.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.1375, allocations: 39.27 kB / 395.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.1375, allocations: 32.5 kB / 395.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1375, allocations: 0 / 395.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.1479, allocations: 5.101 MB / 400.4 MB, free: 9.254 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.536586872069165]