Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 116.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 215.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.396/1.396, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 60.05 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 50.55 MB / 410.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009577/0.2642, allocations: 8.012 MB / 418.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.2683, allocations: 2.637 MB / 420.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.2687, allocations: 23.94 kB / 420.9 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.27, allocations: 0.5638 MB / 421.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.2708, allocations: 496.4 kB / 421.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2713, allocations: 239.7 kB / 422.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.2727, allocations: 1.424 MB / 423.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.2733, allocations: 402.8 kB / 424 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.274, allocations: 0.5525 MB / 424.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/0.2747, allocations: 0.5872 MB / 425.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.2749, allocations: 136 kB / 425.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2752, allocations: 172 kB / 425.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2754, allocations: 279 kB / 425.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.2761, allocations: 0.6415 MB / 426.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.2779, allocations: 1.708 MB / 428.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.278, allocations: 0 / 428.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.278, allocations: 0 / 428.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.278, allocations: 3.938 kB / 428.1 MB, free: 15.46 MB / 350.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.002402/0.2804, allocations: 1.463 MB / 429.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2804, allocations: 12.03 kB / 429.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.281, allocations: 176 kB / 429.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.2822, allocations: 0.7307 MB / 430.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.2822, allocations: 70 kB / 430.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2824, allocations: 99.95 kB / 430.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.2839, allocations: 0.9268 MB / 431.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.2839, allocations: 4 kB / 431.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.284, allocations: 40 kB / 431.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.284, allocations: 24 kB / 431.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.2853, allocations: 0.6207 MB / 432.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.2903, allocations: 3.891 MB / 436.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.2909, allocations: 339.6 kB / 436.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2912, allocations: 136.1 kB / 436.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2912, allocations: 4 kB / 436.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.2913, allocations: 34.56 kB / 436.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.2913, allocations: 0 / 436.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002341/0.2936, allocations: 1.216 MB / 437.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.2937, allocations: 85.09 kB / 437.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.2948, allocations: 0.8176 MB / 438.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2948, allocations: 33.7 kB / 438.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.2953, allocations: 0.5851 MB / 439.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.2954, allocations: 138.9 kB / 439.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.2955, allocations: 122.6 kB / 439.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2957, allocations: 334 kB / 439.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.296, allocations: 149.9 kB / 440.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.2966, allocations: 460 kB / 440.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.2975, allocations: 0.6396 MB / 441.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2975, allocations: 0 / 441.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001226/0.2987, allocations: 0.6931 MB / 441.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2988, allocations: 8.156 kB / 441.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.2988, allocations: 16 kB / 441.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.2989, allocations: 32.84 kB / 441.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.2994, allocations: 155.7 kB / 442.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.3006, allocations: 1.402 MB / 443.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.3011, allocations: 35.98 kB / 443.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.3012, allocations: 32.09 kB / 443.5 MB, free: 15.02 MB / 366.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.000369/0.3015, allocations: 257.5 kB / 443.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3017, allocations: 91.38 kB / 443.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.3024, allocations: 382.1 kB / 444.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3024, allocations: 4 kB / 444.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3024, allocations: 4 kB / 444.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3024, allocations: 3.938 kB / 444.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3043, allocations: 1.27 MB / 445.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.3043, allocations: 3.938 kB / 445.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.3047, allocations: 71.89 kB / 445.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.3048, allocations: 20.86 kB / 445.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3048, allocations: 11.98 kB / 445.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3059, allocations: 1.371 MB / 447 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3059, allocations: 4.156 kB / 447 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3069, allocations: 0.6367 MB / 447.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.3073, allocations: 192.5 kB / 447.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.3074, allocations: 8 kB / 447.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3077, allocations: 23.92 kB / 447.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.3078, allocations: 35.91 kB / 447.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3078, allocations: 8 kB / 447.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008922/0.3087, allocations: 0.5615 MB / 448.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3087, allocations: 0 / 448.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.3095, allocations: 188 kB / 448.7 MB, free: 9.594 MB / 366.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.0002436/0.3097, allocations: 123.2 kB / 448.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009983/0.3107, allocations: 0.4888 MB / 449.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3107, allocations: 4 kB / 449.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.3112, allocations: 262.9 kB / 449.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3122, allocations: 217.3 kB / 449.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.3152, allocations: 1.727 MB / 451.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.3159, allocations: 0.9923 MB / 452.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003557/0.3163, allocations: 94.89 kB / 452.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3164, allocations: 59.42 kB / 452.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3164, allocations: 0 / 452.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of Templates: time 0.02044/0.3369, allocations: 9.745 MB / 462.3 MB, free: 11.9 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches