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.001634/0.001634, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 64.36 kB / 306.9 MB, free: 0.6836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1088, allocations: 50.53 MB / 357.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005045/0.1139, allocations: 2.678 MB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.116, allocations: 0.9544 MB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.1165, allocations: 11.94 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1168, allocations: 63.33 kB / 361.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.1172, allocations: 59.44 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.1181, allocations: 251.2 kB / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.1187, allocations: 374.9 kB / 361.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.119, allocations: 188.8 kB / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1193, allocations: 143.4 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1195, allocations: 143.2 kB / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.1196, allocations: 28 kB / 362.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1197, allocations: 75.95 kB / 362.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1199, allocations: 79.7 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1201, allocations: 171 kB / 362.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.1206, allocations: 394.9 kB / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1206, allocations: 0 / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1206, allocations: 0 / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1206, allocations: 3.938 kB / 363 MB, free: 8.551 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.001222/0.1218, allocations: 0.6468 MB / 363.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1219, allocations: 8.031 kB / 363.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.122, allocations: 40.47 kB / 363.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.1225, allocations: 324 kB / 364 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.1225, allocations: 24.88 kB / 364.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.1226, allocations: 28.38 kB / 364.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.124, allocations: 0.7403 MB / 364.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.124, allocations: 0 / 364.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.1241, allocations: 12 kB / 364.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1241, allocations: 12 kB / 364.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.1246, allocations: 211.8 kB / 365.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.1256, allocations: 0.772 MB / 365.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1267, allocations: 0.6347 MB / 366.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.1272, allocations: 251.4 kB / 366.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.1279, allocations: 0.6012 MB / 367.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.128, allocations: 46.28 kB / 367.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.174e-06/0.128, allocations: 0 / 367.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001236/0.1292, allocations: 0.5204 MB / 367.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.1294, allocations: 211.9 kB / 368.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1297, allocations: 250.6 kB / 368.3 MB, free: 2.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.1297, allocations: 37.7 kB / 368.4 MB, free: 2.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1298, allocations: 156.7 kB / 368.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.1299, allocations: 47.72 kB / 368.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.13, allocations: 82.25 kB / 368.7 MB, free: 2.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1302, allocations: 342.8 kB / 369 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.1304, allocations: 89.06 kB / 369.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.1308, allocations: 431 kB / 369.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.1314, allocations: 0.5281 MB / 370 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.1314, allocations: 4 kB / 370 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008267/0.1323, allocations: 0.4969 MB / 370.5 MB, free: 212 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1323, allocations: 8 kB / 370.5 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.1323, allocations: 12 kB / 370.5 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.1324, allocations: 16.11 kB / 370.6 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1327, allocations: 124.3 kB / 370.7 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.1327, allocations: 23.88 kB / 370.7 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.18/0.3128, allocations: 47.33 kB / 370.8 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/0.3129, allocations: 29.59 kB / 370.8 MB, free: 20.68 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.0002977/0.3132, allocations: 193.5 kB / 371 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007522/0.3139, allocations: 345.3 kB / 371.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007607/0.3147, allocations: 361.4 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3147, allocations: 7.453 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3148, allocations: 4.469 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.3148, allocations: 4.484 kB / 371.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.3152, allocations: 338.5 kB / 372 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.3152, allocations: 1.688 kB / 372 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.3156, allocations: 98.23 kB / 372.1 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3156, allocations: 3.281 kB / 372.1 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3156, allocations: 19.12 kB / 372.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3157, allocations: 7.062 kB / 372.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3157, allocations: 3.891 kB / 372.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3169, allocations: 0.771 MB / 372.9 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3169, allocations: 118.7 kB / 373 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.317, allocations: 18.81 kB / 373 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.3173, allocations: 26.09 kB / 373.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.3173, allocations: 13.22 kB / 373.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3173, allocations: 11.88 kB / 373.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3175, allocations: 184.9 kB / 373.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.3175, allocations: 0 / 373.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.318, allocations: 77.34 kB / 373.3 MB, free: 19.53 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.0001657/0.3182, allocations: 124.3 kB / 373.5 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008816/0.3191, allocations: 382.2 kB / 373.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3191, allocations: 1.188 kB / 373.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3192, allocations: 30.66 kB / 373.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3202, allocations: 307.4 kB / 374.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3215, allocations: 0.7534 MB / 374.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3218, allocations: 0.811 MB / 375.7 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.3219, allocations: 41.16 kB / 375.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.3219, allocations: 34.23 kB / 375.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.322, allocations: 3.938 kB / 375.8 MB, free: 18.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00921/0.3312, allocations: 4.578 MB / 380.4 MB, free: 17.76 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/jenkins/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/jenkins/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