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.001278/0.001278, allocations: 111.7 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 209.8 kB / 18.92 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.1 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 66.41 kB / 307.1 MB, free: 0.6797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 50.54 MB / 357.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004554/0.1176, allocations: 2.72 MB / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1195, allocations: 0.9272 MB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.1197, allocations: 7.938 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.12, allocations: 47.58 kB / 361.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1203, allocations: 43.72 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.121, allocations: 215.3 kB / 361.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.1215, allocations: 382.9 kB / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.1219, allocations: 192.8 kB / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1221, allocations: 135.4 kB / 362.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.1223, allocations: 155.1 kB / 362.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.1224, allocations: 32 kB / 362.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1225, allocations: 63.97 kB / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.1226, allocations: 83.73 kB / 362.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1228, allocations: 163 kB / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.1232, allocations: 307.6 kB / 363.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1232, allocations: 4 kB / 363.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1232, allocations: 4 kB / 363.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1232, allocations: 0 / 363.1 MB, free: 8.676 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.001199/0.1245, allocations: 0.6313 MB / 363.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1245, allocations: 12.03 kB / 363.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.1246, allocations: 40.47 kB / 363.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.1251, allocations: 335.8 kB / 364.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.1251, allocations: 20.94 kB / 364.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1252, allocations: 24.38 kB / 364.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1267, allocations: 0.7518 MB / 364.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1267, allocations: 4 kB / 364.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.1267, allocations: 8 kB / 364.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1267, allocations: 8 kB / 364.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.1273, allocations: 215.8 kB / 365.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1283, allocations: 0.7722 MB / 365.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1295, allocations: 0.6268 MB / 366.6 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.13, allocations: 267.3 kB / 366.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008691/0.1309, allocations: 0.5934 MB / 367.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.131, allocations: 46.34 kB / 367.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.474e-06/0.131, allocations: 0 / 367.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001276/0.1322, allocations: 0.5286 MB / 368 MB, free: 3.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.1324, allocations: 208 kB / 368.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.1327, allocations: 250.6 kB / 368.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.1328, allocations: 37.7 kB / 368.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1329, allocations: 152.7 kB / 368.6 MB, free: 2.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.133, allocations: 47.59 kB / 368.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1331, allocations: 86.25 kB / 368.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1333, allocations: 346.8 kB / 369.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1335, allocations: 85.06 kB / 369.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.134, allocations: 434.9 kB / 369.6 MB, free: 1.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.1347, allocations: 0.5281 MB / 370.1 MB, free: 0.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1347, allocations: 0 / 370.1 MB, free: 0.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00082/0.1356, allocations: 0.4972 MB / 370.6 MB, free: 336 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.1356, allocations: 11.94 kB / 370.6 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.1356, allocations: 12 kB / 370.6 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.1357, allocations: 16 kB / 370.7 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.136, allocations: 119.8 kB / 370.8 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.136, allocations: 23.92 kB / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.1363, allocations: 47.98 kB / 370.8 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.1364, allocations: 36 kB / 370.9 MB, free: 68 kB / 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.1413/0.2777, allocations: 188.5 kB / 371.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/0.2785, allocations: 343.8 kB / 371.4 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.2792, allocations: 356 kB / 371.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.2792, allocations: 9.734 kB / 371.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.2792, allocations: 1.703 kB / 371.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2792, allocations: 3.703 kB / 371.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.2797, allocations: 341.5 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.2797, allocations: 1.125 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.2801, allocations: 107.2 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.2801, allocations: 2.406 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.2801, allocations: 10.64 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2802, allocations: 5.422 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2802, allocations: 6.562 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2814, allocations: 0.7737 MB / 373 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.2815, allocations: 115.1 kB / 373.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.2816, allocations: 16.23 kB / 373.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.2818, allocations: 32.95 kB / 373.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.2819, allocations: 4.484 kB / 373.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.2819, allocations: 15.02 kB / 373.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.2821, allocations: 184.5 kB / 373.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0 / 373.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005631/0.2827, allocations: 77.83 kB / 373.4 MB, free: 19.13 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.0001943/0.2829, allocations: 131.7 kB / 373.6 MB, free: 19.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.2838, allocations: 381.2 kB / 373.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2838, allocations: 1.469 kB / 373.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2839, allocations: 34.94 kB / 374 MB, free: 18.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.285, allocations: 307.3 kB / 374.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2864, allocations: 0.9114 MB / 375.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.2866, allocations: 0.8096 MB / 376 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.2867, allocations: 31.95 kB / 376 MB, free: 17.47 MB / 302.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2867, allocations: 0 / 376 MB, free: 17.47 MB / 302.1 MB Notification: Performance of Templates: time 0.009473/0.2962, allocations: 4.455 MB / 380.5 MB, free: 17.05 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.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) Reference file matches