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.0009914/0.0009914, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008307/0.0008308, allocations: 101.9 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002008/0.000201, allocations: 4 kB / 357.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1862, allocations: 51.47 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.2884, allocations: 100.4 MB / 0.4978 GB, free: 6.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.2887, allocations: 87.95 kB / 0.4979 GB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2229/0.5116, allocations: 28.84 MB / 0.5261 GB, free: 85.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5117, allocations: 0 / 0.5261 GB, free: 85.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.829e-05/0.5117, allocations: 20 kB / 0.5261 GB, free: 85.9 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.002102/0.5138, allocations: 1.289 MB / 0.5274 GB, free: 84.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5139, allocations: 8.031 kB / 0.5274 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.5146, allocations: 210.3 kB / 0.5276 GB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.5159, allocations: 0.8165 MB / 0.5284 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.516, allocations: 77.94 kB / 0.5285 GB, free: 83.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5161, allocations: 96 kB / 0.5285 GB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5174, allocations: 0.9346 MB / 0.5295 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.5174, allocations: 7.891 kB / 0.5295 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.5175, allocations: 44 kB / 0.5295 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5175, allocations: 27.95 kB / 0.5295 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5186, allocations: 0.6597 MB / 0.5302 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.5225, allocations: 3.951 MB / 0.534 GB, free: 77.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.5231, allocations: 468.4 kB / 0.5345 GB, free: 76.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.5232, allocations: 7.984 kB / 0.5345 GB, free: 76.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.5232, allocations: 38.52 kB / 0.5345 GB, free: 76.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.5232, allocations: 0 / 0.5345 GB, free: 76.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002466/0.5257, allocations: 1.516 MB / 0.536 GB, free: 75.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.5257, allocations: 81.55 kB / 0.5361 GB, free: 75.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/0.5265, allocations: 0.7035 MB / 0.5368 GB, free: 74.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.5265, allocations: 37.7 kB / 0.5368 GB, free: 74.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.5267, allocations: 0.5682 MB / 0.5374 GB, free: 73.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.792e-05/0.5268, allocations: 165.6 kB / 0.5375 GB, free: 73.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.5268, allocations: 16 kB / 0.5375 GB, free: 73.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.5269, allocations: 338 kB / 0.5379 GB, free: 73.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.5272, allocations: 177.9 kB / 0.538 GB, free: 73.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.5276, allocations: 476.1 kB / 0.5385 GB, free: 72.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.528, allocations: 272.2 kB / 0.5387 GB, free: 72.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.528, allocations: 4 kB / 0.5387 GB, free: 72.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001126/0.5292, allocations: 0.8092 MB / 0.5395 GB, free: 71.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5292, allocations: 8 kB / 0.5395 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5292, allocations: 8 kB / 0.5396 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.5294, allocations: 81.67 kB / 0.5396 GB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.5299, allocations: 163.9 kB / 0.5398 GB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.5317, allocations: 2.933 MB / 0.5426 GB, free: 68.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.5323, allocations: 43.89 kB / 0.5427 GB, free: 68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.5323, allocations: 36 kB / 0.5427 GB, free: 67.97 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 (87): * Single equations (assignments): 85 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000388/0.5327, allocations: 261.6 kB / 0.543 GB, free: 67.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5328, allocations: 94.89 kB / 0.5431 GB, free: 67.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008467/0.5337, allocations: 0.5301 MB / 0.5436 GB, free: 67.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5337, allocations: 7.953 kB / 0.5436 GB, free: 67.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5337, allocations: 0 / 0.5436 GB, free: 67.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5337, allocations: 4 kB / 0.5436 GB, free: 67.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.5356, allocations: 1.466 MB / 0.545 GB, free: 65.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5357, allocations: 0 / 0.545 GB, free: 65.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.536, allocations: 79.89 kB / 0.5451 GB, free: 65.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.5362, allocations: 77.83 kB / 0.5452 GB, free: 65.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.5362, allocations: 15.94 kB / 0.5452 GB, free: 65.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.5378, allocations: 2.916 MB / 0.548 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5378, allocations: 3.953 kB / 0.548 GB, free: 62.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.5389, allocations: 0.93 MB / 0.549 GB, free: 61.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.5391, allocations: 196 kB / 0.5491 GB, free: 60.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5392, allocations: 12 kB / 0.5491 GB, free: 60.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.5397, allocations: 31.97 kB / 0.5492 GB, free: 60.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.5397, allocations: 47.91 kB / 0.5492 GB, free: 60.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.5398, allocations: 8 kB / 0.5492 GB, free: 60.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005912/0.5404, allocations: 0.5459 MB / 0.5498 GB, free: 60.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5404, allocations: 0 / 0.5498 GB, free: 60.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009267/0.5413, allocations: 244 kB / 0.55 GB, free: 60.03 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 (41): * Single equations (assignments): 39 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004341/0.5418, allocations: 306.5 kB / 0.5503 GB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.5428, allocations: 0.735 MB / 0.551 GB, free: 58.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5429, allocations: 0 / 0.551 GB, free: 58.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.5434, allocations: 469.5 kB / 0.5515 GB, free: 58.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.5443, allocations: 210.8 kB / 0.5517 GB, free: 58.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.5467, allocations: 2.15 MB / 0.5538 GB, free: 56.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5471, allocations: 1.04 MB / 0.5548 GB, free: 55.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000411/0.5475, allocations: 111.3 kB / 0.5549 GB, free: 54.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.5476, allocations: 55.44 kB / 0.5549 GB, free: 54.84 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5476, allocations: 0 / 0.5549 GB, free: 54.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01716/0.5648, allocations: 11.99 MB / 0.5666 GB, free: 42.95 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/jenkins/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