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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.64 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09778, allocations: 50.54 MB / 358.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004567/0.1024, allocations: 2.675 MB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1044, allocations: 0.9465 MB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.1048, allocations: 11.94 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.1051, allocations: 63.39 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.1054, allocations: 59.44 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008013/0.1062, allocations: 235.5 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.1067, allocations: 374.9 kB / 362.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.107, allocations: 188.8 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1073, allocations: 147.4 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1075, allocations: 147.2 kB / 363 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.1075, allocations: 35.94 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1077, allocations: 75.95 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1078, allocations: 75.75 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1079, allocations: 167 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.1084, allocations: 394.9 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1084, allocations: 0 / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1084, allocations: 4 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1084, allocations: 0 / 363.7 MB, free: 8.527 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.001132/0.1096, allocations: 0.639 MB / 364.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1096, allocations: 12.03 kB / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.1097, allocations: 36.47 kB / 364.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1101, allocations: 331.9 kB / 364.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.1102, allocations: 20.94 kB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.1102, allocations: 28.38 kB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1116, allocations: 0.748 MB / 365.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1116, allocations: 4 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1117, allocations: 8 kB / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1117, allocations: 8 kB / 365.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.1123, allocations: 218.8 kB / 365.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.1132, allocations: 0.776 MB / 366.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1142, allocations: 0.6229 MB / 367.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.1147, allocations: 259.4 kB / 367.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.1155, allocations: 0.5973 MB / 368 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1155, allocations: 42.34 kB / 368 MB, free: 3.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.906e-06/0.1155, allocations: 4 kB / 368 MB, free: 3.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001254/0.1168, allocations: 0.5282 MB / 368.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.1169, allocations: 208 kB / 368.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1172, allocations: 250.6 kB / 369 MB, free: 2.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1172, allocations: 33.7 kB / 369 MB, free: 2.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1173, allocations: 156.7 kB / 369.2 MB, free: 2.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.1174, allocations: 43.59 kB / 369.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1175, allocations: 90.19 kB / 369.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1176, allocations: 346.8 kB / 369.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.1178, allocations: 85.06 kB / 369.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.1182, allocations: 427 kB / 370.2 MB, free: 1.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.1189, allocations: 0.532 MB / 370.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1189, allocations: 0 / 370.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008234/0.1197, allocations: 0.4936 MB / 371.2 MB, free: 192 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1198, allocations: 12.03 kB / 371.2 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.1198, allocations: 15.94 kB / 371.2 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.1198, allocations: 16.11 kB / 371.2 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.1201, allocations: 127.7 kB / 371.4 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.1202, allocations: 19.94 kB / 371.4 MB, free: 0 / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1659/0.2861, allocations: 46.25 kB / 371.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.2862, allocations: 29.53 kB / 371.5 MB, free: 20.04 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.000269/0.2865, allocations: 192.5 kB / 371.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007901/0.2873, allocations: 342.6 kB / 372 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.288, allocations: 363.2 kB / 372.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2881, allocations: 5.594 kB / 372.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2881, allocations: 4.312 kB / 372.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2881, allocations: 8.766 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.2885, allocations: 335.3 kB / 372.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.2886, allocations: 1.703 kB / 372.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.289, allocations: 104.4 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.289, allocations: 4.031 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.2891, allocations: 15.14 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2891, allocations: 3.75 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2891, allocations: 1.125 kB / 372.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.2904, allocations: 0.7751 MB / 373.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.2905, allocations: 122.6 kB / 373.7 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.2906, allocations: 18.33 kB / 373.7 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.2908, allocations: 28.08 kB / 373.7 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.2909, allocations: 9.562 kB / 373.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2909, allocations: 14.12 kB / 373.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.2911, allocations: 182.6 kB / 373.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2911, allocations: 1 kB / 373.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005845/0.2917, allocations: 71.89 kB / 374 MB, free: 19.19 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.0001949/0.2919, allocations: 126 kB / 374.1 MB, free: 19.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.2929, allocations: 384.8 kB / 374.5 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2929, allocations: 4.562 kB / 374.5 MB, free: 19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.293, allocations: 30.11 kB / 374.6 MB, free: 18.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2941, allocations: 310 kB / 374.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2956, allocations: 0.7879 MB / 375.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2959, allocations: 0.8108 MB / 376.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.2959, allocations: 31.84 kB / 376.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2959, allocations: 4 kB / 376.5 MB, free: 17.67 MB / 302.1 MB Notification: Performance of Templates: time 0.009083/0.305, allocations: 4.462 MB / 381 MB, free: 17.24 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) 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.0.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) Reference file matches