Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 111.9 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009727, allocations: 193.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 55.91 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1752, allocations: 46.63 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01852/0.1938, allocations: 11.66 MB / 338.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2064, allocations: 3.921 MB / 342.4 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004278/0.2108, allocations: 51.75 kB / 342.4 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003861/0.2148, allocations: 0.7422 MB / 343.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.2203, allocations: 0.878 MB / 344 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.2225, allocations: 475.5 kB / 344.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007677/0.2301, allocations: 3.46 MB / 348 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/0.2347, allocations: 2.665 MB / 350.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.2391, allocations: 1.538 MB / 352.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.2452, allocations: 1.969 MB / 354.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001751/0.247, allocations: 408 kB / 354.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2494, allocations: 0.6557 MB / 355.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.2511, allocations: 1.145 MB / 356.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003803/0.255, allocations: 1.839 MB / 358.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008615/0.2636, allocations: 5.312 MB / 363.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.2636, allocations: 0 / 363.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.2637, allocations: 4 kB / 363.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002037/0.2639, allocations: 3.984 kB / 363.5 MB, free: 15.88 MB / 318.1 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.01181/0.2757, allocations: 3.703 MB / 367.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.445e-05/0.2758, allocations: 8.031 kB / 367.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.2776, allocations: 436.7 kB / 367.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.2815, allocations: 1.836 MB / 369.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.2818, allocations: 209.3 kB / 369.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004673/0.2823, allocations: 268 kB / 369.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007667/0.29, allocations: 3.517 MB / 373.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.203e-05/0.2901, allocations: 15.84 kB / 373.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.2904, allocations: 112 kB / 373.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/0.2906, allocations: 121.2 kB / 373.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.2968, allocations: 2.964 MB / 376.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3853/0.682, allocations: 11.1 MB / 387.8 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.6856, allocations: 2.279 MB / 390 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.6878, allocations: 1.181 MB / 391.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.6882, allocations: 217 kB / 391.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.6882, allocations: 50.84 kB / 391.5 MB, free: 44.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.068e-06/0.6882, allocations: 0 / 391.5 MB, free: 44.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01661/0.7048, allocations: 7.482 MB / 399 MB, free: 40.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.7049, allocations: 68.59 kB / 399 MB, free: 40.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.7076, allocations: 1.978 MB / 401 MB, free: 39.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.7078, allocations: 56.72 kB / 401.1 MB, free: 39.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.7084, allocations: 1.302 MB / 402.4 MB, free: 37.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.7087, allocations: 0.5053 MB / 402.9 MB, free: 37.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.7092, allocations: 325.7 kB / 403.2 MB, free: 37.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.7092, allocations: 301.1 kB / 403.5 MB, free: 37.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.7104, allocations: 0.8862 MB / 404.4 MB, free: 36.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.712, allocations: 1.368 MB / 405.7 MB, free: 35.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.7148, allocations: 2.381 MB / 408.1 MB, free: 33.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.7148, allocations: 7.938 kB / 408.1 MB, free: 33.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004531/0.7193, allocations: 2.982 MB / 411.1 MB, free: 30.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.7194, allocations: 12.62 kB / 411.1 MB, free: 30.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.7194, allocations: 12 kB / 411.1 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.7205, allocations: 466.4 kB / 411.6 MB, free: 29.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.7218, allocations: 435.3 kB / 412 MB, free: 29.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/0.7276, allocations: 6.099 MB / 418.1 MB, free: 22.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.7299, allocations: 123.9 kB / 418.2 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.73, allocations: 75.98 kB / 418.3 MB, free: 22.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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.001995/0.732, allocations: 0.8628 MB / 419.2 MB, free: 21.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.7325, allocations: 221.4 kB / 419.4 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.7362, allocations: 2.574 MB / 422 MB, free: 19.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.7362, allocations: 23.92 kB / 422 MB, free: 19.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7363, allocations: 8 kB / 422 MB, free: 19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.7363, allocations: 3.984 kB / 422 MB, free: 19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008321/0.7446, allocations: 5.635 MB / 427.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.7446, allocations: 7.938 kB / 427.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.7457, allocations: 280.1 kB / 427.9 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.747, allocations: 0.494 MB / 428.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.7471, allocations: 43.97 kB / 428.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/0.7535, allocations: 7.671 MB / 436.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.7535, allocations: 8 kB / 436.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/0.7592, allocations: 3.853 MB / 440 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.7607, allocations: 479.4 kB / 440.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.761, allocations: 39.97 kB / 440.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.7621, allocations: 99.88 kB / 440.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.7624, allocations: 121 kB / 440.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.7626, allocations: 47.98 kB / 440.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.7647, allocations: 1.356 MB / 442.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7647, allocations: 0 / 442.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002501/0.7672, allocations: 0.5893 MB / 442.7 MB, free: 13.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (126): * Single equations (assignments): 121 * 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.0006664/0.7679, allocations: 223.7 kB / 442.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0071/0.775, allocations: 3.353 MB / 446.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.775, allocations: 1.875 kB / 446.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002875/0.7779, allocations: 1.615 MB / 447.9 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.7812, allocations: 487 kB / 448.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.7938, allocations: 6.871 MB / 455.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002296/0.7961, allocations: 2.136 MB / 457.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002195/0.7983, allocations: 466.4 kB / 457.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.7988, allocations: 139.4 kB / 458 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.174e-06/0.7988, allocations: 0 / 458 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.07558/0.8744, allocations: 30.78 MB / 488.7 MB, free: 15.41 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches