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) 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: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 114.3 kB / 17.68 MB, free: 5.473 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.001476/0.001476, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.454/1.454, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008632/0.0008633, allocations: 50.22 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1084, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004435/0.1129, allocations: 2.681 MB / 354.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1145, allocations: 0.8998 MB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.1147, allocations: 11.94 kB / 355.1 MB, free: 72 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1148, allocations: 67.27 kB / 355.1 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1151, allocations: 67.53 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1157, allocations: 226.6 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1161, allocations: 386.8 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1163, allocations: 188.8 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1165, allocations: 135.4 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1167, allocations: 143.3 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1167, allocations: 35.94 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1168, allocations: 71.94 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.117, allocations: 79.7 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1171, allocations: 163 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.1175, allocations: 414.5 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1175, allocations: 0 / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1175, allocations: 7.938 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1175, allocations: 0 / 357 MB, free: 14.12 MB / 302.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.0008571/0.1184, allocations: 0.6352 MB / 357.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.1184, allocations: 15.89 kB / 357.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.1185, allocations: 40.47 kB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1189, allocations: 331.9 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1189, allocations: 20.94 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.119, allocations: 32.38 kB / 358.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.1202, allocations: 0.7559 MB / 358.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1203, allocations: 0 / 358.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1203, allocations: 23.94 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1203, allocations: 11.94 kB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.1208, allocations: 211.8 kB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.1216, allocations: 0.7681 MB / 359.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1226, allocations: 0.6196 MB / 360.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.1231, allocations: 267.7 kB / 360.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.1237, allocations: 0.5895 MB / 361.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1238, allocations: 50.5 kB / 361.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.723e-06/0.1238, allocations: 0 / 361.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001155/0.1249, allocations: 0.5323 MB / 361.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.1251, allocations: 203.9 kB / 362.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1253, allocations: 254.6 kB / 362.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.1254, allocations: 29.7 kB / 362.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.1255, allocations: 156.7 kB / 362.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.1255, allocations: 43.59 kB / 362.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.1256, allocations: 86.25 kB / 362.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1258, allocations: 350.8 kB / 363 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1259, allocations: 81.17 kB / 363.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.1263, allocations: 442.9 kB / 363.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.1269, allocations: 0.5246 MB / 364 MB, free: 6.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.1269, allocations: 4 kB / 364 MB, free: 6.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007284/0.1276, allocations: 0.4934 MB / 364.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1276, allocations: 12 kB / 364.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1277, allocations: 12 kB / 364.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.1277, allocations: 12 kB / 364.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.128, allocations: 119.8 kB / 364.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/0.128, allocations: 23.92 kB / 364.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.1283, allocations: 51.92 kB / 364.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1283, allocations: 36 kB / 364.8 MB, free: 5.5 MB / 302.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.0002003/0.1285, allocations: 189.5 kB / 365 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006085/0.1292, allocations: 334.2 kB / 365.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.1298, allocations: 373.1 kB / 365.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1299, allocations: 4 kB / 365.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1299, allocations: 8 kB / 365.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1299, allocations: 3.984 kB / 365.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1303, allocations: 337 kB / 366 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.1303, allocations: 4 kB / 366 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.1307, allocations: 99.88 kB / 366.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1307, allocations: 0 / 366.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1307, allocations: 11.98 kB / 366.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1307, allocations: 8 kB / 366.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1307, allocations: 0 / 366.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1319, allocations: 0.7786 MB / 366.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.132, allocations: 120.5 kB / 367 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.1321, allocations: 19.92 kB / 367.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1323, allocations: 23.98 kB / 367.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1324, allocations: 7.984 kB / 367.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.1324, allocations: 16.06 kB / 367.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.1326, allocations: 186 kB / 367.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1326, allocations: 0 / 367.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005555/0.1332, allocations: 72 kB / 367.4 MB, free: 2.828 MB / 302.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.000187/0.1334, allocations: 127.1 kB / 367.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006971/0.1341, allocations: 361.4 kB / 367.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1341, allocations: 256 / 367.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/0.1342, allocations: 31.97 kB / 367.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.1352, allocations: 310 kB / 368.2 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1365, allocations: 0.7393 MB / 368.9 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1369, allocations: 0.8081 MB / 369.7 MB, free: 404 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.1371, allocations: 43.25 kB / 369.8 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.1371, allocations: 35.44 kB / 369.8 MB, free: 324 kB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1371, allocations: 0 / 369.8 MB, free: 324 kB / 302.1 MB Notification: Performance of Templates: time 0.1954/0.3325, allocations: 4.573 MB / 374.4 MB, free: 24.86 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches