Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 196.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, 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.0008071/0.0008072, allocations: 106.4 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3149, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.6564, allocations: 116 MB / 0.5131 GB, free: 99.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6568, allocations: 88.34 kB / 0.5131 GB, free: 99.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2006/0.8573, allocations: 86.18 MB / 0.5973 GB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.8574, allocations: 0 / 0.5973 GB, free: 14.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002579/0.8576, allocations: 83.8 kB / 0.5974 GB, free: 14.7 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007775/0.8654, allocations: 3.154 MB / 0.6005 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8655, allocations: 12.03 kB / 0.6005 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.8677, allocations: 484.6 kB / 0.6009 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.8722, allocations: 2.039 MB / 0.6029 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.8724, allocations: 205.8 kB / 0.6031 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007941/0.8732, allocations: 272.3 kB / 0.6034 GB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006765/0.88, allocations: 3.522 MB / 0.6068 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.189e-05/0.8801, allocations: 4 kB / 0.6068 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.8805, allocations: 116 kB / 0.6069 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.21e-05/0.8806, allocations: 117.3 kB / 0.607 GB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.8859, allocations: 2.855 MB / 0.6098 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.9071, allocations: 11.24 MB / 0.6208 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.9109, allocations: 2.342 MB / 0.6231 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.9129, allocations: 1.047 MB / 0.6241 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.9133, allocations: 219.5 kB / 0.6243 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.9134, allocations: 47.88 kB / 0.6244 GB, free: 2.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=134): time 4.308e-06/0.9134, allocations: 4 kB / 0.6244 GB, free: 2.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=158): time 0.02106/0.9345, allocations: 8.573 MB / 0.6327 GB, free: 9.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.9346, allocations: 68.72 kB / 0.6328 GB, free: 9.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/0.9391, allocations: 1.948 MB / 0.6347 GB, free: 7.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.9393, allocations: 49.7 kB / 0.6348 GB, free: 7.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.9406, allocations: 1.304 MB / 0.636 GB, free: 6.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006565/0.9412, allocations: 0.5391 MB / 0.6366 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.9414, allocations: 40 kB / 0.6366 GB, free: 5.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.9416, allocations: 381.8 kB / 0.637 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.9435, allocations: 0.9447 MB / 0.6379 GB, free: 4.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.9456, allocations: 1.407 MB / 0.6393 GB, free: 2.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/0.9496, allocations: 2.493 MB / 0.6417 GB, free: 15.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.9497, allocations: 4 kB / 0.6417 GB, free: 15.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006507/0.9562, allocations: 3.164 MB / 0.6448 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.9563, allocations: 15.94 kB / 0.6448 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-05/0.9563, allocations: 16 kB / 0.6448 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.9581, allocations: 0.6319 MB / 0.6454 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.96, allocations: 443.3 kB / 0.6459 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/0.9682, allocations: 5.725 MB / 0.6514 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.9704, allocations: 139.8 kB / 0.6516 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003978/0.9708, allocations: 83.92 kB / 0.6517 GB, free: 5.551 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002319/0.9732, allocations: 0.8486 MB / 0.6525 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008177/0.974, allocations: 217.4 kB / 0.6527 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006138/0.9801, allocations: 2.843 MB / 0.6555 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.9802, allocations: 16 kB / 0.6555 GB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.9802, allocations: 8 kB / 0.6555 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.9802, allocations: 7.969 kB / 0.6555 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.9923, allocations: 5.907 MB / 0.6613 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/0.9924, allocations: 7.984 kB / 0.6613 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9936, allocations: 283.9 kB / 0.6615 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.9956, allocations: 0.6887 MB / 0.6622 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.9958, allocations: 43.98 kB / 0.6623 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/1.007, allocations: 7.456 MB / 0.6695 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.007, allocations: 4 kB / 0.6695 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2327/1.24, allocations: 4.149 MB / 0.6736 GB, free: 98.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.241, allocations: 0.4948 MB / 0.6741 GB, free: 98.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/1.242, allocations: 44.41 kB / 0.6741 GB, free: 98.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.243, allocations: 112.5 kB / 0.6742 GB, free: 98.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/1.243, allocations: 125.2 kB / 0.6744 GB, free: 98.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.243, allocations: 48.48 kB / 0.6744 GB, free: 98.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00195/1.245, allocations: 1.343 MB / 0.6757 GB, free: 98.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.123e-06/1.245, allocations: 0 / 0.6757 GB, free: 98.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002429/1.248, allocations: 0.6826 MB / 0.6764 GB, free: 98.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006858/1.248, allocations: 339.9 kB / 0.6767 GB, free: 98.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004626/1.253, allocations: 2.812 MB / 0.6794 GB, free: 97.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.253, allocations: 3.281 kB / 0.6795 GB, free: 97.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/1.256, allocations: 1.756 MB / 0.6812 GB, free: 97.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/1.259, allocations: 482.4 kB / 0.6816 GB, free: 97.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.269, allocations: 6.756 MB / 0.6882 GB, free: 94.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/1.271, allocations: 2.154 MB / 0.6903 GB, free: 93.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001803/1.273, allocations: 452.5 kB / 0.6908 GB, free: 93.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/1.273, allocations: 137.7 kB / 0.6909 GB, free: 93.96 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/1.273, allocations: 0 / 0.6909 GB, free: 93.96 MB / 442.7 MB Notification: Performance of Templates: time 0.04992/1.323, allocations: 34.43 MB / 0.7245 GB, free: 92.62 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches