Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007756/0.0007756, allocations: 82.42 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003538, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.307, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01085/0.3179, allocations: 10.4 MB / 385.5 MB, free: 37.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008963/0.3269, allocations: 3.749 MB / 389.2 MB, free: 34.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.3296, allocations: 55.59 kB / 389.3 MB, free: 34.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.3318, allocations: 0.6951 MB / 390 MB, free: 33.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.3358, allocations: 0.8456 MB / 390.8 MB, free: 32.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3371, allocations: 347.5 kB / 391.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.3409, allocations: 3.554 MB / 394.7 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.3431, allocations: 2.222 MB / 397 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.3451, allocations: 1.144 MB / 398.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.3473, allocations: 1.584 MB / 399.7 MB, free: 24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.3477, allocations: 172 kB / 399.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3488, allocations: 431.5 kB / 400.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006916/0.3495, allocations: 0.8644 MB / 401.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.3509, allocations: 1.491 MB / 402.6 MB, free: 21.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.354, allocations: 4.281 MB / 406.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.354, allocations: 0 / 406.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3541, allocations: 0 / 406.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001008/0.3542, allocations: 0 / 406.9 MB, free: 16.75 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.006464/0.3606, allocations: 3.158 MB / 410.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3607, allocations: 8.031 kB / 410.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.362, allocations: 440.6 kB / 410.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.3647, allocations: 1.833 MB / 412.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.3648, allocations: 221.3 kB / 412.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.3652, allocations: 267.9 kB / 412.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005368/0.3705, allocations: 3.513 MB / 416.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.3706, allocations: 0 / 416.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.3709, allocations: 115.9 kB / 416.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.371, allocations: 129.2 kB / 416.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.3755, allocations: 2.972 MB / 419.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.3919, allocations: 11.16 MB / 430.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/0.3947, allocations: 2.302 MB / 433 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.3967, allocations: 1.199 MB / 434.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.397, allocations: 203.5 kB / 434.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.3971, allocations: 51.88 kB / 434.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 3.617e-06/0.3971, allocations: 0 / 434.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.01618/0.4133, allocations: 7.629 MB / 442.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.4134, allocations: 64.72 kB / 442.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.4165, allocations: 1.967 MB / 444.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.4166, allocations: 49.7 kB / 444.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009474/0.4176, allocations: 1.308 MB / 445.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000484/0.4181, allocations: 0.5083 MB / 446 MB, free: 8.684 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4182, allocations: 39.94 kB / 446 MB, free: 8.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4184, allocations: 373.9 kB / 446.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4199, allocations: 0.894 MB / 447.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.4218, allocations: 1.388 MB / 448.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.4253, allocations: 2.397 MB / 451.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.4253, allocations: 4 kB / 451.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005429/0.4307, allocations: 2.997 MB / 454.1 MB, free: 144 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4308, allocations: 12 kB / 454.1 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.4308, allocations: 16 kB / 454.1 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.432, allocations: 469.2 kB / 454.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4336, allocations: 443.3 kB / 455 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006603/0.4402, allocations: 5.576 MB / 460.6 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.4424, allocations: 135.8 kB / 460.7 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.4426, allocations: 75.98 kB / 460.8 MB, free: 9.164 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {(3,100.0%) 16,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001725/0.4443, allocations: 0.8486 MB / 461.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/0.4449, allocations: 213.4 kB / 461.8 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.4496, allocations: 2.603 MB / 464.4 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/0.4496, allocations: 19.94 kB / 464.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4496, allocations: 8 kB / 464.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.4497, allocations: 7.969 kB / 464.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.4597, allocations: 5.681 MB / 470.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4598, allocations: 4 kB / 470.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.461, allocations: 296 kB / 470.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.4623, allocations: 498 kB / 470.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.4625, allocations: 39.92 kB / 471 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007584/0.4701, allocations: 7.039 MB / 478 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4701, allocations: 7.938 kB / 478 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/0.4769, allocations: 3.881 MB / 481.9 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.4782, allocations: 486.3 kB / 482.4 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.4785, allocations: 35.98 kB / 482.4 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4796, allocations: 116 kB / 482.5 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.4799, allocations: 121 kB / 482.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.48, allocations: 47.98 kB / 482.7 MB, free: 2.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002252/0.4823, allocations: 1.34 MB / 484 MB, free: 1.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.4823, allocations: 0 / 484 MB, free: 1.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002332/0.4846, allocations: 0.5937 MB / 484.6 MB, free: 0.5664 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005059/0.4851, allocations: 211.9 kB / 484.8 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.4897, allocations: 2.622 MB / 487.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4898, allocations: 2 kB / 487.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.4925, allocations: 1.63 MB / 489.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/0.4962, allocations: 472 kB / 489.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5067, allocations: 6.722 MB / 496.2 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.5086, allocations: 2.108 MB / 498.4 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008725/0.5095, allocations: 147.4 kB / 498.5 MB, free: 2.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5095, allocations: 0 / 498.5 MB, free: 2.469 MB / 378.7 MB Notification: Performance of Templates: time 0.2998/0.8094, allocations: 74.76 MB / 0.5598 GB, free: 44.66 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches