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.001152/0.001152, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001221/0.001221, allocations: 192 kB / 18.63 MB, free: 4.508 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.292/1.292, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 43.56 kB / 302 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1018, allocations: 49.46 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00401/0.1059, allocations: 2.67 MB / 354.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1074, allocations: 0.9115 MB / 355.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1076, allocations: 7.938 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1078, allocations: 63.33 kB / 355.1 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.108, allocations: 59.56 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.1086, allocations: 242.8 kB / 355.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.109, allocations: 382.8 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.1093, allocations: 180.8 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1094, allocations: 143.3 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.1096, allocations: 143.3 kB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.1097, allocations: 32 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1098, allocations: 71.94 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1099, allocations: 87.64 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.11, allocations: 155.1 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.1104, allocations: 426.4 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1105, allocations: 0 / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1105, allocations: 0 / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1105, allocations: 0 / 357 MB, free: 14.14 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.0009586/0.1114, allocations: 0.6391 MB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1115, allocations: 15.89 kB / 357.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.1116, allocations: 40.47 kB / 357.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.112, allocations: 331.8 kB / 358 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.112, allocations: 20.94 kB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.1121, allocations: 36.38 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1133, allocations: 0.7559 MB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1134, allocations: 3.938 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.1134, allocations: 16 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1134, allocations: 8 kB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.1139, allocations: 215.8 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.1148, allocations: 0.7641 MB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.1159, allocations: 0.6196 MB / 360.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.1164, allocations: 263.7 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.117, allocations: 0.5933 MB / 361.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.117, allocations: 42.56 kB / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.1171, allocations: 0 / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001164/0.1182, allocations: 0.5283 MB / 361.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1184, allocations: 208.4 kB / 362.1 MB, free: 8.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1186, allocations: 258.6 kB / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1187, allocations: 29.7 kB / 362.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1188, allocations: 164.8 kB / 362.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1188, allocations: 43.59 kB / 362.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.119, allocations: 86.25 kB / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1191, allocations: 346.8 kB / 363 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1193, allocations: 81.06 kB / 363.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.1197, allocations: 438.9 kB / 363.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.1202, allocations: 0.532 MB / 364.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1203, allocations: 4 kB / 364.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007489/0.121, allocations: 496.7 kB / 364.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.121, allocations: 12 kB / 364.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1211, allocations: 12.84 kB / 364.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.1211, allocations: 15.94 kB / 364.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1214, allocations: 123.8 kB / 364.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.1214, allocations: 27.92 kB / 364.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.1217, allocations: 51.58 kB / 364.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.1217, allocations: 32 kB / 364.8 MB, free: 5.516 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.000194/0.1219, allocations: 185.5 kB / 365 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.1226, allocations: 338.2 kB / 365.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.1232, allocations: 373 kB / 365.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.1232, allocations: 4 kB / 365.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1232, allocations: 7.938 kB / 365.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.1232, allocations: 3.984 kB / 365.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1236, allocations: 337 kB / 366 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1236, allocations: 4 kB / 366 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.124, allocations: 103.9 kB / 366.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.124, allocations: 0 / 366.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.1241, allocations: 11.98 kB / 366.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1241, allocations: 4 kB / 366.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1241, allocations: 3.938 kB / 366.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1252, allocations: 0.7709 MB / 366.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.1253, allocations: 120.5 kB / 367 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.1254, allocations: 12 kB / 367.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.1256, allocations: 32.03 kB / 367.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1257, allocations: 7.984 kB / 367.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.1257, allocations: 12 kB / 367.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1259, allocations: 182 kB / 367.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1259, allocations: 0 / 367.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1264, allocations: 75.94 kB / 367.4 MB, free: 2.852 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.0001699/0.1265, allocations: 135.1 kB / 367.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.1272, allocations: 356.8 kB / 367.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1272, allocations: 0 / 367.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.1273, allocations: 31.91 kB / 367.9 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009874/0.1283, allocations: 318.9 kB / 368.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1296, allocations: 0.7353 MB / 368.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.13, allocations: 0.8081 MB / 369.7 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.555e-05/0.1301, allocations: 39.27 kB / 369.8 MB, free: 380 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.1302, allocations: 43.42 kB / 369.8 MB, free: 336 kB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1302, allocations: 3.938 kB / 369.8 MB, free: 332 kB / 302.1 MB Notification: Performance of Templates: time 0.1492/0.2794, allocations: 4.567 MB / 374.4 MB, free: 24.82 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 gbode -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