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.001455/0.001455, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001752, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 59.89 kB / 306.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1254, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005105/0.1305, allocations: 2.724 MB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.133, allocations: 0.935 MB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.1335, allocations: 11.94 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.1339, allocations: 47.58 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.1343, allocations: 43.64 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.1352, allocations: 211.1 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.1358, allocations: 362.9 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1362, allocations: 180.8 kB / 361.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1364, allocations: 119.4 kB / 362 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1367, allocations: 139.2 kB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.1368, allocations: 16 kB / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.137, allocations: 55.95 kB / 362.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1371, allocations: 67.69 kB / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1373, allocations: 147.1 kB / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1377, allocations: 303.6 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1377, allocations: 0 / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1377, allocations: 0 / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1377, allocations: 0 / 362.8 MB, free: 9.16 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.001315/0.1391, allocations: 0.643 MB / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1391, allocations: 12.03 kB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1393, allocations: 40.47 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.1397, allocations: 327.8 kB / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1398, allocations: 20.94 kB / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.1398, allocations: 32.36 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1413, allocations: 0.7441 MB / 364.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1414, allocations: 3.984 kB / 364.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1414, allocations: 12 kB / 364.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.1414, allocations: 8 kB / 364.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.142, allocations: 215.8 kB / 364.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009971/0.143, allocations: 0.7682 MB / 365.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1441, allocations: 0.6238 MB / 366.2 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.1446, allocations: 263.4 kB / 366.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007977/0.1454, allocations: 0.5973 MB / 367 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.1455, allocations: 46.33 kB / 367.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.986e-06/0.1455, allocations: 0 / 367.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001326/0.1468, allocations: 0.5244 MB / 367.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.147, allocations: 215.9 kB / 367.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1473, allocations: 246.6 kB / 368.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.1473, allocations: 33.7 kB / 368.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1475, allocations: 156.7 kB / 368.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.1475, allocations: 55.62 kB / 368.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1477, allocations: 82.3 kB / 368.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1478, allocations: 342.8 kB / 368.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1481, allocations: 89.06 kB / 368.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.1485, allocations: 431 kB / 369.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.1492, allocations: 0.5281 MB / 369.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.1492, allocations: 8 kB / 369.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008847/0.1501, allocations: 497.1 kB / 370.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.1502, allocations: 12 kB / 370.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.1502, allocations: 12 kB / 370.3 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.1502, allocations: 16.42 kB / 370.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.1506, allocations: 123.8 kB / 370.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.1506, allocations: 19.92 kB / 370.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.1509, allocations: 52.16 kB / 370.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1509, allocations: 28 kB / 370.5 MB, free: 0.5586 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.0002517/0.1512, allocations: 206.6 kB / 370.7 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006749/0.1519, allocations: 345.8 kB / 371 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1876/0.3395, allocations: 353.5 kB / 371.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3395, allocations: 7.062 kB / 371.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3395, allocations: 3.156 kB / 371.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3396, allocations: 8.078 kB / 371.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.3401, allocations: 338.1 kB / 371.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.3401, allocations: 1.438 kB / 371.7 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.3406, allocations: 107 kB / 371.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3406, allocations: 2.938 kB / 371.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.3406, allocations: 11.59 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.3407, allocations: 2.406 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3407, allocations: 3.812 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.342, allocations: 0.7718 MB / 372.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.3421, allocations: 126.1 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.3421, allocations: 15.72 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3424, allocations: 24.7 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3425, allocations: 5.312 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.3425, allocations: 17.14 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.3428, allocations: 186.2 kB / 373 MB, free: 19.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3428, allocations: 0 / 373 MB, free: 19.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006176/0.3434, allocations: 72.98 kB / 373.1 MB, free: 19.77 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.0001933/0.3436, allocations: 128.5 kB / 373.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.3444, allocations: 359.5 kB / 373.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3444, allocations: 0 / 373.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3445, allocations: 27.73 kB / 373.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3456, allocations: 305 kB / 373.9 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3471, allocations: 0.9126 MB / 374.8 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3474, allocations: 0.8099 MB / 375.6 MB, free: 18.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.3475, allocations: 32.5 kB / 375.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3475, allocations: 0 / 375.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01067/0.3581, allocations: 4.456 MB / 380.1 MB, free: 17.79 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