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.001241/0.001241, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001312/0.001312, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.739/1.739, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001708/0.001708, allocations: 51.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01636/0.1602, allocations: 11.75 MB / 340.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1718, allocations: 3.971 MB / 344.4 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.1746, allocations: 63.75 kB / 344.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.1773, allocations: 0.8462 MB / 345.4 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.1815, allocations: 0.9783 MB / 346.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1832, allocations: 0.5265 MB / 346.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005981/0.1892, allocations: 3.456 MB / 350.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003793/0.193, allocations: 2.684 MB / 353 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.1966, allocations: 1.526 MB / 354.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.2011, allocations: 1.938 MB / 356.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009827/0.2021, allocations: 408 kB / 356.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.2042, allocations: 0.6441 MB / 357.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.2056, allocations: 1.145 MB / 358.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002722/0.2084, allocations: 1.843 MB / 360.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006178/0.2145, allocations: 5.362 MB / 365.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2146, allocations: 0 / 365.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.981e-06/0.2146, allocations: 0 / 365.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.2147, allocations: 3.938 kB / 365.9 MB, free: 14.4 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.009944/0.2247, allocations: 3.707 MB / 369.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.2248, allocations: 11.97 kB / 369.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.2265, allocations: 432.7 kB / 370 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.2312, allocations: 1.852 MB / 371.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.2314, allocations: 213.3 kB / 372.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004539/0.2319, allocations: 260 kB / 372.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008052/0.2399, allocations: 3.517 MB / 375.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.971e-05/0.24, allocations: 15.83 kB / 375.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.2403, allocations: 112 kB / 376 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.2405, allocations: 117.3 kB / 376.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/0.2463, allocations: 2.964 MB / 379 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3259/0.5722, allocations: 10.97 MB / 390 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.576, allocations: 2.282 MB / 392.3 MB, free: 44.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.5783, allocations: 1.188 MB / 393.5 MB, free: 43.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.5787, allocations: 212.7 kB / 393.7 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.5788, allocations: 45.91 kB / 393.7 MB, free: 43.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 8.145e-06/0.5788, allocations: 3.844 kB / 393.7 MB, free: 43.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01651/0.5954, allocations: 7.478 MB / 401.2 MB, free: 39.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5954, allocations: 72.56 kB / 401.3 MB, free: 39.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.5981, allocations: 1.978 MB / 403.3 MB, free: 38.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.5982, allocations: 52.08 kB / 403.3 MB, free: 38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.5989, allocations: 1.309 MB / 404.6 MB, free: 36.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.5992, allocations: 0.5025 MB / 405.1 MB, free: 36.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/0.5997, allocations: 331.7 kB / 405.5 MB, free: 36.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.5997, allocations: 305.1 kB / 405.7 MB, free: 35.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.6009, allocations: 0.8819 MB / 406.6 MB, free: 35.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.6023, allocations: 1.373 MB / 408 MB, free: 34.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.6049, allocations: 2.381 MB / 410.4 MB, free: 31.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6049, allocations: 4 kB / 410.4 MB, free: 31.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003955/0.6089, allocations: 2.974 MB / 413.4 MB, free: 28.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.6089, allocations: 8 kB / 413.4 MB, free: 28.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.6089, allocations: 16 kB / 413.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009901/0.6099, allocations: 469.5 kB / 413.8 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6114, allocations: 423.3 kB / 414.3 MB, free: 27.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.6169, allocations: 6.113 MB / 420.4 MB, free: 21.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6185, allocations: 117.6 kB / 420.5 MB, free: 21.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.6187, allocations: 79.98 kB / 420.6 MB, free: 21.17 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.001592/0.6203, allocations: 0.8524 MB / 421.4 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.6206, allocations: 209.4 kB / 421.6 MB, free: 20.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.6243, allocations: 2.581 MB / 424.2 MB, free: 17.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.6244, allocations: 19.94 kB / 424.2 MB, free: 17.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6244, allocations: 4 kB / 424.2 MB, free: 17.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6244, allocations: 7.969 kB / 424.2 MB, free: 17.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007983/0.6324, allocations: 5.627 MB / 429.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.6324, allocations: 4 kB / 429.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.6335, allocations: 284.6 kB / 430.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.6346, allocations: 494.4 kB / 430.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/0.6348, allocations: 43.98 kB / 430.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006199/0.641, allocations: 7.672 MB / 438.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.641, allocations: 11.98 kB / 438.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.6466, allocations: 3.847 MB / 442.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.6479, allocations: 478.4 kB / 442.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.6482, allocations: 38.95 kB / 442.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.6493, allocations: 95.89 kB / 442.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/0.6496, allocations: 129 kB / 442.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6497, allocations: 47.98 kB / 443 MB, free: 14.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002295/0.652, allocations: 1.356 MB / 444.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.652, allocations: 0 / 444.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002303/0.6544, allocations: 0.5818 MB / 444.9 MB, free: 12.12 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.0006449/0.655, allocations: 234.1 kB / 445.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.6597, allocations: 2.605 MB / 447.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6597, allocations: 0 / 447.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.6624, allocations: 1.619 MB / 449.4 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6645, allocations: 496.6 kB / 449.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6746, allocations: 5.61 MB / 455.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.6766, allocations: 2.132 MB / 457.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001673/0.6783, allocations: 469 kB / 458 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.6788, allocations: 147.1 kB / 458.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.764e-06/0.6788, allocations: 4 kB / 458.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of Templates: time 0.05515/0.734, allocations: 30.93 MB / 489.1 MB, free: 15.71 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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