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.0009762/0.0009763, allocations: 93.89 kB / 16.95 MB, free: 6.113 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.001182/0.001182, allocations: 178.4 kB / 17.84 MB, free: 5.73 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.738/1.738, allocations: 205.4 MB / 224 MB, free: 13.06 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.0006913/0.0006913, allocations: 12 kB / 280.8 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1646, allocations: 47.58 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01444/0.1791, allocations: 10.4 MB / 338.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1905, allocations: 3.752 MB / 342.5 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.1942, allocations: 51.75 kB / 342.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.1978, allocations: 0.6915 MB / 343.3 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.2027, allocations: 0.8389 MB / 344.1 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.2048, allocations: 343.5 kB / 344.4 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007048/0.2119, allocations: 3.507 MB / 347.9 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.2166, allocations: 1.805 MB / 349.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.2204, allocations: 1.144 MB / 350.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/0.2247, allocations: 1.584 MB / 352.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.2253, allocations: 176 kB / 352.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.2268, allocations: 371.6 kB / 353 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.2279, allocations: 0.8683 MB / 353.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.2294, allocations: 0.6212 MB / 354.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.235, allocations: 4.27 MB / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.235, allocations: 3.938 kB / 358.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.235, allocations: 0 / 358.8 MB, free: 5.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001816/0.2352, allocations: 0 / 358.8 MB, free: 5.512 MB / 302.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.009098/0.2443, allocations: 3.173 MB / 361.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.2444, allocations: 8.031 kB / 362 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.2465, allocations: 435.8 kB / 362.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.2503, allocations: 1.778 MB / 364.2 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.2506, allocations: 221.5 kB / 364.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.251, allocations: 263.9 kB / 364.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/0.2584, allocations: 3.525 MB / 368.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.2586, allocations: 3.984 kB / 368.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.2588, allocations: 112 kB / 368.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.259, allocations: 117.3 kB / 368.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006006/0.265, allocations: 2.98 MB / 371.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3469/0.6119, allocations: 11.17 MB / 382.5 MB, free: 44.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/0.616, allocations: 2.293 MB / 384.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/0.619, allocations: 1.199 MB / 386 MB, free: 43.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/0.6194, allocations: 204.6 kB / 386.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.6195, allocations: 48.12 kB / 386.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.639e-06/0.6195, allocations: 0 / 386.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01928/0.6388, allocations: 7.625 MB / 393.9 MB, free: 40.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.6389, allocations: 70.77 kB / 394 MB, free: 40.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.6424, allocations: 1.964 MB / 395.9 MB, free: 40.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.6425, allocations: 51.2 kB / 396 MB, free: 40.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009084/0.6435, allocations: 1.311 MB / 397.3 MB, free: 39.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.6438, allocations: 0.504 MB / 397.8 MB, free: 38.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.6439, allocations: 35.88 kB / 397.8 MB, free: 38.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.644, allocations: 374.9 kB / 398.2 MB, free: 38.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.6452, allocations: 0.8924 MB / 399.1 MB, free: 38.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.6467, allocations: 1.385 MB / 400.5 MB, free: 37.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.6482, allocations: 1.096 MB / 401.6 MB, free: 36.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.6482, allocations: 3.688 kB / 401.6 MB, free: 36.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005078/0.6533, allocations: 2.991 MB / 404.6 MB, free: 34.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.6534, allocations: 11.84 kB / 404.6 MB, free: 34.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/0.6534, allocations: 15.75 kB / 404.6 MB, free: 34.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009986/0.6544, allocations: 472.3 kB / 405 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.6559, allocations: 443.7 kB / 405.5 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.661, allocations: 5.579 MB / 411.1 MB, free: 29.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.6631, allocations: 131.8 kB / 411.2 MB, free: 29.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.6632, allocations: 77.42 kB / 411.3 MB, free: 29.66 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 (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.00183/0.6651, allocations: 0.8563 MB / 412.1 MB, free: 28.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/0.6656, allocations: 209.5 kB / 412.3 MB, free: 28.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/0.6695, allocations: 2.606 MB / 414.9 MB, free: 25.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.6696, allocations: 16 kB / 414.9 MB, free: 25.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6696, allocations: 8 kB / 414.9 MB, free: 25.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6696, allocations: 7.969 kB / 415 MB, free: 25.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.6779, allocations: 5.67 MB / 420.6 MB, free: 20.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.6779, allocations: 4 kB / 420.6 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.679, allocations: 296.1 kB / 420.9 MB, free: 19.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.6801, allocations: 0.4921 MB / 421.4 MB, free: 19.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.234e-05/0.6802, allocations: 43.97 kB / 421.5 MB, free: 19.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.6859, allocations: 7.032 MB / 428.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.686, allocations: 4 kB / 428.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005789/0.6918, allocations: 3.882 MB / 432.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.693, allocations: 490.3 kB / 432.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.6932, allocations: 35.98 kB / 432.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6943, allocations: 111.9 kB / 433 MB, free: 7.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.6946, allocations: 127.9 kB / 433.1 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.6947, allocations: 53.33 kB / 433.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001942/0.6966, allocations: 1.34 MB / 434.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6966, allocations: 0 / 434.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002116/0.6988, allocations: 0.5815 MB / 435.1 MB, free: 5.137 MB / 318.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 (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.00038/0.6992, allocations: 184.3 kB / 435.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.7029, allocations: 2.619 MB / 437.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7029, allocations: 0 / 437.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.7053, allocations: 1.623 MB / 439.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.7082, allocations: 478.3 kB / 440 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.7209, allocations: 6.684 MB / 446.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.723, allocations: 2.136 MB / 448.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00174/0.7248, allocations: 469 kB / 449.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.7252, allocations: 139.4 kB / 449.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7252, allocations: 0 / 449.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of Templates: time 0.05686/0.7821, allocations: 28.42 MB / 477.8 MB, free: 10.2 MB / 366.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