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.001195/0.001195, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009351/0.0009351, allocations: 108.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009181/0.0009181, allocations: 52.06 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2263, allocations: 50.46 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009805/0.2362, allocations: 11.72 MB / 418.8 MB, free: 16.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006516/0.2427, allocations: 3.949 MB / 422.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.2452, allocations: 59.75 kB / 422.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.2476, allocations: 0.7577 MB / 423.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.2508, allocations: 0.8936 MB / 424.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.252, allocations: 474.8 kB / 424.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.2558, allocations: 3.895 MB / 428.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.258, allocations: 2.272 MB / 431.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.2599, allocations: 1.346 MB / 432.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.262, allocations: 1.86 MB / 434.3 MB, free: 444 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004328/0.2625, allocations: 252 kB / 434.5 MB, free: 192 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.2637, allocations: 0.5034 MB / 435 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009197/0.2646, allocations: 0.9852 MB / 436 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.2666, allocations: 1.675 MB / 437.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004819/0.2714, allocations: 5.183 MB / 442.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2715, allocations: 3.938 kB / 442.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2715, allocations: 4 kB / 442.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.2716, allocations: 0 / 442.9 MB, free: 7.805 MB / 314.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.008425/0.2801, allocations: 3.715 MB / 446.6 MB, free: 4.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2801, allocations: 8.031 kB / 446.6 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.2817, allocations: 476.6 kB / 447.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.2852, allocations: 1.903 MB / 449 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.2854, allocations: 217.3 kB / 449.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.2858, allocations: 260 kB / 449.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005803/0.2916, allocations: 3.525 MB / 453 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.2917, allocations: 7.844 kB / 453 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.2919, allocations: 112 kB / 453.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.292, allocations: 121.2 kB / 453.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/0.2971, allocations: 2.972 MB / 456.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.3146, allocations: 11.09 MB / 467.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.3174, allocations: 2.281 MB / 469.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.3193, allocations: 1.191 MB / 470.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.3196, allocations: 207.5 kB / 470.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3197, allocations: 47.81 kB / 471 MB, free: 10.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 3.246e-06/0.3197, allocations: 0 / 471 MB, free: 10.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=148): time 0.01581/0.3355, allocations: 7.515 MB / 478.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3356, allocations: 72.66 kB / 478.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.3382, allocations: 1.975 MB / 480.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.744e-05/0.3383, allocations: 49.7 kB / 480.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008395/0.3392, allocations: 1.316 MB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.3396, allocations: 0.5006 MB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.34, allocations: 323.3 kB / 482.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.3401, allocations: 305.1 kB / 483 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.3415, allocations: 0.8862 MB / 483.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.3432, allocations: 1.371 MB / 485.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/0.3465, allocations: 2.377 MB / 487.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3465, allocations: 4 kB / 487.7 MB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005145/0.3516, allocations: 2.986 MB / 490.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3517, allocations: 15.94 kB / 490.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.3517, allocations: 16 kB / 490.7 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.3528, allocations: 460.8 kB / 491.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.3544, allocations: 435.3 kB / 491.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/0.3609, allocations: 5.588 MB / 497.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.3626, allocations: 123.8 kB / 497.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.3627, allocations: 75.98 kB / 497.3 MB, free: 15.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.3642, allocations: 0.8539 MB / 498.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.3647, allocations: 209.5 kB / 498.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/0.3692, allocations: 2.595 MB / 0.4892 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/0.3693, allocations: 19.98 kB / 0.4893 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3693, allocations: 4 kB / 0.4893 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.3693, allocations: 11.97 kB / 0.4893 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009651/0.379, allocations: 5.636 MB / 0.4948 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.379, allocations: 0 / 0.4948 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.3802, allocations: 283.6 kB / 0.4951 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.3815, allocations: 498.4 kB / 0.4955 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.3817, allocations: 43.91 kB / 0.4956 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1668/0.5485, allocations: 7.038 MB / 0.5024 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5485, allocations: 3.469 kB / 0.5024 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03223/0.5807, allocations: 25.33 MB / 0.5272 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008081/0.5816, allocations: 482.4 kB / 0.5276 GB, free: 72.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.5818, allocations: 35.98 kB / 0.5277 GB, free: 72.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5829, allocations: 98.73 kB / 0.5278 GB, free: 72.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.5832, allocations: 116.2 kB / 0.5279 GB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/0.5833, allocations: 43.98 kB / 0.5279 GB, free: 72.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001513/0.5848, allocations: 1.36 MB / 0.5292 GB, free: 70.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5849, allocations: 0 / 0.5292 GB, free: 70.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002018/0.5869, allocations: 0.8149 MB / 0.53 GB, free: 69.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,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.0003732/0.5873, allocations: 227.2 kB / 0.5303 GB, free: 69.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.5906, allocations: 2.602 MB / 0.5328 GB, free: 67.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5906, allocations: 4 kB / 0.5328 GB, free: 67.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.5927, allocations: 1.592 MB / 0.5344 GB, free: 65.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.5947, allocations: 481.6 kB / 0.5348 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/0.6035, allocations: 8.351 MB / 0.543 GB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.6049, allocations: 2.187 MB / 0.5451 GB, free: 54.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001429/0.6063, allocations: 489 kB / 0.5456 GB, free: 53.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.6068, allocations: 139.4 kB / 0.5457 GB, free: 53.73 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6068, allocations: 0 / 0.5457 GB, free: 53.73 MB / 378.7 MB Notification: Performance of Templates: time 0.04612/0.6529, allocations: 35.42 MB / 0.5803 GB, free: 18.56 MB / 378.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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