Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 119.8 kB / 18.4 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 207.5 kB / 19.35 MB, free: 3.828 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 / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.78 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009936/0.1119, allocations: 7.99 MB / 366.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.1165, allocations: 2.633 MB / 369.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009462/0.1175, allocations: 23.94 kB / 369.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.1195, allocations: 0.5481 MB / 370.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1211, allocations: 452.4 kB / 370.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.1219, allocations: 251.7 kB / 370.8 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1631/0.2851, allocations: 1.425 MB / 372.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2862, allocations: 0.5856 MB / 372.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.2871, allocations: 0.5374 MB / 373.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.2877, allocations: 0.5861 MB / 373.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.2879, allocations: 135.6 kB / 374.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.2882, allocations: 171.6 kB / 374.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.2884, allocations: 276.7 kB / 374.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.289, allocations: 0.6489 MB / 375.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.291, allocations: 1.696 MB / 376.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.291, allocations: 0.75 kB / 376.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.291, allocations: 0 / 376.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.983e-05/0.2911, allocations: 1.375 kB / 376.8 MB, free: 10.52 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00265/0.2938, allocations: 1.426 MB / 378.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2938, allocations: 9.562 kB / 378.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.2944, allocations: 168.4 kB / 378.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.2956, allocations: 0.7399 MB / 379.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.2957, allocations: 73.47 kB / 379.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.2959, allocations: 96.03 kB / 379.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.2974, allocations: 0.9226 MB / 380.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.2975, allocations: 5.75 kB / 380.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.2976, allocations: 41.06 kB / 380.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.2976, allocations: 25.34 kB / 380.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2988, allocations: 0.6227 MB / 381 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.3033, allocations: 3.868 MB / 384.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.3038, allocations: 353.6 kB / 385.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3041, allocations: 147.9 kB / 385.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.3041, allocations: 8.062 kB / 385.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3042, allocations: 38.09 kB / 385.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/0.3042, allocations: 4 kB / 385.4 MB, free: 6.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002094/0.3063, allocations: 1.202 MB / 386.6 MB, free: 5.234 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.3063, allocations: 83.28 kB / 386.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3074, allocations: 0.8175 MB / 387.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3074, allocations: 30.95 kB / 387.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.3077, allocations: 0.5695 MB / 388.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.3078, allocations: 132.8 kB / 388.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.3079, allocations: 129.4 kB / 388.3 MB, free: 4.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.308, allocations: 330.3 kB / 388.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.3083, allocations: 156.6 kB / 388.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.3087, allocations: 452 kB / 389.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.3094, allocations: 0.6333 MB / 389.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3094, allocations: 2.656 kB / 389.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001316/0.3107, allocations: 0.6922 MB / 390.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.3107, allocations: 8.906 kB / 390.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.3108, allocations: 11.31 kB / 390.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.311, allocations: 38.08 kB / 390.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.3115, allocations: 156.6 kB / 390.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009593/0.3125, allocations: 1.397 MB / 392.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.3132, allocations: 38.66 kB / 392.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.3133, allocations: 32.38 kB / 392.2 MB, free: 1.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004271/0.3137, allocations: 254.5 kB / 392.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3138, allocations: 79.44 kB / 392.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.3145, allocations: 374.9 kB / 392.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3146, allocations: 4.25 kB / 392.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3146, allocations: 0 / 392.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3146, allocations: 5 kB / 392.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3164, allocations: 1.267 MB / 394.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3164, allocations: 10.22 kB / 394.2 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.3167, allocations: 73.09 kB / 394.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.26e-05/0.3168, allocations: 24.08 kB / 394.3 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.3169, allocations: 12.34 kB / 394.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009391/0.3178, allocations: 1.372 MB / 395.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3178, allocations: 2.094 kB / 395.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3189, allocations: 0.6337 MB / 396.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.3192, allocations: 186.9 kB / 396.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.3193, allocations: 10.2 kB / 396.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.3197, allocations: 20.98 kB / 396.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.3198, allocations: 36.19 kB / 396.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.3198, allocations: 13.16 kB / 396.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007713/0.3206, allocations: 0.5596 MB / 397.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3206, allocations: 0 / 397.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007767/0.3214, allocations: 191.9 kB / 397.3 MB, free: 13.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.3216, allocations: 124.9 kB / 397.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3226, allocations: 0.5132 MB / 398 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3226, allocations: 0 / 398 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.323, allocations: 265.2 kB / 398.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.324, allocations: 220.1 kB / 398.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.3269, allocations: 1.678 MB / 400.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.3275, allocations: 0.9952 MB / 401.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.3278, allocations: 101.4 kB / 401.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3279, allocations: 53.81 kB / 401.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.328, allocations: 0 / 401.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of Templates: time 0.01781/0.3458, allocations: 9.505 MB / 410.8 MB, free: 3.891 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches