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.0009258/0.0009259, allocations: 176.9 kB / 16.41 MB, free: 5.727 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.319/1.319, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008227/0.0008227, allocations: 82.38 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006218/0.0006219, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3169, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01139/0.3283, allocations: 10.4 MB / 385 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007888/0.3363, allocations: 3.745 MB / 388.7 MB, free: 34.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.339, allocations: 51.69 kB / 388.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.3418, allocations: 0.6926 MB / 389.4 MB, free: 33.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.3454, allocations: 0.8335 MB / 390.3 MB, free: 32.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.3469, allocations: 352.3 kB / 390.6 MB, free: 32.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.351, allocations: 3.513 MB / 394.1 MB, free: 29.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.3533, allocations: 1.806 MB / 395.9 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.3551, allocations: 1.152 MB / 397.1 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.3567, allocations: 1.584 MB / 398.7 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.3569, allocations: 176 kB / 398.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.3578, allocations: 367.7 kB / 399.2 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006101/0.3584, allocations: 0.8605 MB / 400.1 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.3589, allocations: 0.6328 MB / 400.7 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3617, allocations: 4.274 MB / 405 MB, free: 18.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3617, allocations: 0 / 405 MB, free: 18.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3617, allocations: 0 / 405 MB, free: 18.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.309e-05/0.3618, allocations: 0 / 405 MB, free: 18.31 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.005461/0.3673, allocations: 3.181 MB / 408.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3673, allocations: 8.031 kB / 408.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.3686, allocations: 439.7 kB / 408.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.3711, allocations: 1.778 MB / 410.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3712, allocations: 205.4 kB / 410.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.3715, allocations: 264 kB / 410.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.3765, allocations: 3.521 MB / 414.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.3766, allocations: 7.844 kB / 414.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.3768, allocations: 112 kB / 414.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.3769, allocations: 125.2 kB / 414.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.3813, allocations: 2.976 MB / 417.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3967, allocations: 11.17 MB / 428.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.3995, allocations: 2.286 MB / 431 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.4014, allocations: 1.203 MB / 432.2 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.4017, allocations: 207.5 kB / 432.4 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.4018, allocations: 55.83 kB / 432.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 6.532e-06/0.4018, allocations: 0 / 432.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.0163/0.4181, allocations: 7.617 MB / 440.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4182, allocations: 72.72 kB / 440.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/0.4216, allocations: 1.952 MB / 442.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.4217, allocations: 53.7 kB / 442.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009639/0.4227, allocations: 1.319 MB / 443.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.4232, allocations: 0.5006 MB / 444 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4233, allocations: 36 kB / 444 MB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4235, allocations: 385.8 kB / 444.4 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.425, allocations: 0.8901 MB / 445.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.4268, allocations: 1.388 MB / 446.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.4287, allocations: 1.088 MB / 447.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.4287, allocations: 4 kB / 447.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005411/0.4341, allocations: 3.001 MB / 450.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4342, allocations: 12 kB / 450.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.4342, allocations: 16 kB / 450.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.4354, allocations: 464.3 kB / 451.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.437, allocations: 447.2 kB / 451.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006351/0.4434, allocations: 5.581 MB / 457.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.4452, allocations: 131.9 kB / 457.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.4455, allocations: 68 kB / 457.5 MB, free: 12.3 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.001733/0.4472, allocations: 0.8486 MB / 458.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/0.4478, allocations: 209.5 kB / 458.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.4524, allocations: 2.618 MB / 461.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.4524, allocations: 16 kB / 461.2 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/0.4525, allocations: 4 kB / 461.2 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.4525, allocations: 7.969 kB / 461.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.4636, allocations: 5.669 MB / 466.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.4637, allocations: 4 kB / 466.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.4651, allocations: 300 kB / 467.1 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.4666, allocations: 498 kB / 467.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.4668, allocations: 47.97 kB / 467.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007716/0.4746, allocations: 7.036 MB / 474.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4746, allocations: 4 kB / 474.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006717/0.4813, allocations: 3.877 MB / 478.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.4826, allocations: 486.3 kB / 479.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005085/0.4831, allocations: 35.98 kB / 479.1 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.4846, allocations: 115.9 kB / 479.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.4849, allocations: 121 kB / 479.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.485, allocations: 43.98 kB / 479.4 MB, free: 5.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002249/0.4872, allocations: 1.348 MB / 480.7 MB, free: 4.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4872, allocations: 0 / 480.7 MB, free: 4.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002201/0.4895, allocations: 0.5859 MB / 481.3 MB, free: 3.711 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.000433/0.4899, allocations: 183 kB / 481.5 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004364/0.4943, allocations: 2.612 MB / 484.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4943, allocations: 4 kB / 484.1 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.497, allocations: 1.631 MB / 485.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/0.5001, allocations: 488 kB / 486.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.5105, allocations: 6.726 MB / 492.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/0.5126, allocations: 2.104 MB / 495 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/0.5134, allocations: 151.4 kB / 495.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5134, allocations: 0 / 495.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of Templates: time 0.2903/0.8037, allocations: 74.76 MB / 0.5566 GB, free: 45.98 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