Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 175.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 99.66 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002559, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3071, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01068/0.3178, allocations: 10.44 MB / 387.1 MB, free: 37.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.326, allocations: 4.332 MB / 391.4 MB, free: 33.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.3281, allocations: 51.75 kB / 391.4 MB, free: 33.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.3303, allocations: 0.7393 MB / 392.2 MB, free: 32.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.3338, allocations: 0.8897 MB / 393.1 MB, free: 31.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3352, allocations: 467.5 kB / 393.5 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.3389, allocations: 3.885 MB / 397.4 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.3411, allocations: 2.217 MB / 399.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.3438, allocations: 1.186 MB / 400.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.3459, allocations: 1.63 MB / 402.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.3462, allocations: 172 kB / 402.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008987/0.3471, allocations: 435.5 kB / 403 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006789/0.3478, allocations: 0.8642 MB / 403.9 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.3493, allocations: 1.552 MB / 405.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.3529, allocations: 5.029 MB / 410.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3529, allocations: 0 / 410.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3529, allocations: 0 / 410.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.353, allocations: 0 / 410.5 MB, free: 14.34 MB / 298.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.006039/0.359, allocations: 3.154 MB / 413.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.3591, allocations: 8.031 kB / 413.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.3605, allocations: 440.6 kB / 414.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.3634, allocations: 1.837 MB / 415.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3635, allocations: 205.3 kB / 416.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.3638, allocations: 275.9 kB / 416.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.3692, allocations: 3.509 MB / 419.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/0.3693, allocations: 8 kB / 419.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.3695, allocations: 108 kB / 420 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.3697, allocations: 121.2 kB / 420.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004744/0.3744, allocations: 2.987 MB / 423.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.393, allocations: 11.17 MB / 434.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.396, allocations: 2.29 MB / 436.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.398, allocations: 1.203 MB / 437.8 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.3983, allocations: 203.5 kB / 438 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.3984, allocations: 47.88 kB / 438 MB, free: 2.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 5.641e-06/0.3984, allocations: 0 / 438 MB, free: 2.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.01664/0.415, allocations: 7.645 MB / 445.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.4151, allocations: 64.72 kB / 445.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.4187, allocations: 1.963 MB / 447.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.4189, allocations: 49.7 kB / 447.7 MB, free: 8.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4201, allocations: 1.308 MB / 449 MB, free: 6.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005416/0.4207, allocations: 0.5083 MB / 449.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.4208, allocations: 36 kB / 449.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.421, allocations: 373.9 kB / 449.9 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.4225, allocations: 0.894 MB / 450.8 MB, free: 4.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.4243, allocations: 1.384 MB / 452.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.4276, allocations: 2.397 MB / 454.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.4276, allocations: 4 kB / 454.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005194/0.4328, allocations: 2.997 MB / 457.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.4328, allocations: 12 kB / 457.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.4329, allocations: 16.38 kB / 457.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.4341, allocations: 463.2 kB / 458.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.4357, allocations: 447.3 kB / 458.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/0.4423, allocations: 5.574 MB / 464.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.4442, allocations: 135.8 kB / 464.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.4444, allocations: 71.98 kB / 464.3 MB, free: 6.766 MB / 346.7 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.001832/0.4462, allocations: 0.85 MB / 465.2 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/0.4467, allocations: 213.5 kB / 465.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/0.4512, allocations: 2.607 MB / 468 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.4512, allocations: 16 kB / 468 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4512, allocations: 4 kB / 468 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.4512, allocations: 7.969 kB / 468 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/0.4609, allocations: 5.681 MB / 473.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.461, allocations: 8.031 kB / 473.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.4622, allocations: 291.5 kB / 474 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.4635, allocations: 0.4963 MB / 474.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/0.4636, allocations: 39.92 kB / 474.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00755/0.4712, allocations: 7.038 MB / 481.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4712, allocations: 7.938 kB / 481.6 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/0.4773, allocations: 3.881 MB / 485.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.4785, allocations: 486.3 kB / 485.9 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.4788, allocations: 39.98 kB / 486 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.4799, allocations: 107.9 kB / 486.1 MB, free: 292 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/0.4802, allocations: 121 kB / 486.2 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/0.4803, allocations: 44.06 kB / 486.2 MB, free: 128 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002278/0.4826, allocations: 1.348 MB / 487.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4826, allocations: 0 / 487.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002216/0.4848, allocations: 0.5858 MB / 488.2 MB, free: 14.17 MB / 378.7 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.0004994/0.4853, allocations: 227 kB / 488.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004541/0.4899, allocations: 2.615 MB / 491 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4899, allocations: 0 / 491 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.4927, allocations: 1.639 MB / 492.6 MB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/0.4959, allocations: 466.7 kB / 493.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.5068, allocations: 6.981 MB / 0.4884 GB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.215/0.7218, allocations: 2.131 MB / 0.4904 GB, free: 106.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002232/0.7241, allocations: 470 kB / 0.4909 GB, free: 106.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.7245, allocations: 140.6 kB / 0.491 GB, free: 106.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7246, allocations: 0 / 0.491 GB, free: 106.6 MB / 378.7 MB Notification: Performance of Templates: time 0.05027/0.7748, allocations: 29.2 MB / 0.5195 GB, free: 86.78 MB / 378.7 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