Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008127/0.0008127, allocations: 104.4 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003194, allocations: 4 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2254, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3397, allocations: 100.4 MB / 0.4978 GB, free: 7.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.34, allocations: 87.95 kB / 0.4979 GB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2605/0.6005, allocations: 28.69 MB / 0.5259 GB, free: 87.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6006, allocations: 0 / 0.5259 GB, free: 87.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.356e-05/0.6007, allocations: 28 kB / 0.5259 GB, free: 87.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002828/0.6035, allocations: 1.282 MB / 0.5272 GB, free: 86.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.6036, allocations: 8.031 kB / 0.5272 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.6044, allocations: 207.3 kB / 0.5274 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.6061, allocations: 0.8381 MB / 0.5282 GB, free: 85.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.6062, allocations: 74 kB / 0.5283 GB, free: 85.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.6063, allocations: 103.8 kB / 0.5284 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6079, allocations: 0.9425 MB / 0.5293 GB, free: 84.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.608, allocations: 7.938 kB / 0.5293 GB, free: 84.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.608, allocations: 40 kB / 0.5294 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.6081, allocations: 24 kB / 0.5294 GB, free: 83.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.6093, allocations: 0.6637 MB / 0.53 GB, free: 83.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.6142, allocations: 3.947 MB / 0.5339 GB, free: 79.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.6149, allocations: 482.1 kB / 0.5343 GB, free: 78.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.6154, allocations: 278.3 kB / 0.5346 GB, free: 78.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.6154, allocations: 7.938 kB / 0.5346 GB, free: 78.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.6155, allocations: 42.55 kB / 0.5346 GB, free: 78.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.6155, allocations: 0 / 0.5346 GB, free: 78.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002829/0.6183, allocations: 1.542 MB / 0.5362 GB, free: 76.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6184, allocations: 85.55 kB / 0.5362 GB, free: 76.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.6194, allocations: 0.7942 MB / 0.537 GB, free: 75.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.6194, allocations: 37.7 kB / 0.537 GB, free: 75.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.6197, allocations: 0.5683 MB / 0.5376 GB, free: 75.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.011e-05/0.6198, allocations: 169.5 kB / 0.5378 GB, free: 75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.6198, allocations: 16 kB / 0.5378 GB, free: 74.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.6199, allocations: 337.9 kB / 0.5381 GB, free: 74.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.6202, allocations: 185.9 kB / 0.5383 GB, free: 74.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.6206, allocations: 482.9 kB / 0.5387 GB, free: 73.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.6214, allocations: 0.7039 MB / 0.5394 GB, free: 73.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6215, allocations: 4 kB / 0.5394 GB, free: 73.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001229/0.6227, allocations: 0.8286 MB / 0.5402 GB, free: 72.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.6227, allocations: 14.17 kB / 0.5403 GB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6227, allocations: 12 kB / 0.5403 GB, free: 72.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/0.623, allocations: 93.95 kB / 0.5404 GB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.6235, allocations: 159.7 kB / 0.5405 GB, free: 71.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.6253, allocations: 2.998 MB / 0.5434 GB, free: 68.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.6259, allocations: 39.89 kB / 0.5435 GB, free: 68.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.626, allocations: 40 kB / 0.5435 GB, free: 68.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004467/0.6265, allocations: 273.5 kB / 0.5438 GB, free: 68.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6266, allocations: 90.88 kB / 0.5439 GB, free: 68.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.6275, allocations: 0.5456 MB / 0.5444 GB, free: 67.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6275, allocations: 4 kB / 0.5444 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6275, allocations: 0 / 0.5444 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.6275, allocations: 11.92 kB / 0.5444 GB, free: 67.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.6296, allocations: 1.501 MB / 0.5459 GB, free: 66.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6296, allocations: 7.938 kB / 0.5459 GB, free: 66.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.6299, allocations: 83.83 kB / 0.546 GB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.6301, allocations: 89.88 kB / 0.546 GB, free: 65.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.6301, allocations: 11.98 kB / 0.5461 GB, free: 65.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.6318, allocations: 2.978 MB / 0.549 GB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6318, allocations: 4.031 kB / 0.549 GB, free: 62.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.633, allocations: 0.8598 MB / 0.5498 GB, free: 61.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.6333, allocations: 212 kB / 0.55 GB, free: 61.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6335, allocations: 8 kB / 0.55 GB, free: 61.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.6339, allocations: 31.98 kB / 0.55 GB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.634, allocations: 51.81 kB / 0.5501 GB, free: 61.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.634, allocations: 12 kB / 0.5501 GB, free: 61.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006205/0.6347, allocations: 0.542 MB / 0.5506 GB, free: 60.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6347, allocations: 0 / 0.5506 GB, free: 60.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009745/0.6357, allocations: 247.9 kB / 0.5509 GB, free: 60.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004313/0.6361, allocations: 301.9 kB / 0.5512 GB, free: 60.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.6373, allocations: 0.7387 MB / 0.5519 GB, free: 59.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.6373, allocations: 0 / 0.5519 GB, free: 59.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.6379, allocations: 485.5 kB / 0.5523 GB, free: 59.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6392, allocations: 212.6 kB / 0.5526 GB, free: 58.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.6424, allocations: 2.151 MB / 0.5547 GB, free: 56.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.6429, allocations: 1.013 MB / 0.5556 GB, free: 55.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.6435, allocations: 107.4 kB / 0.5557 GB, free: 55.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6436, allocations: 63.36 kB / 0.5558 GB, free: 55.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6436, allocations: 0 / 0.5558 GB, free: 55.39 MB / 378.7 MB Notification: Performance of Templates: time 0.02073/0.6644, allocations: 12.27 MB / 0.5678 GB, free: 43.23 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches