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.00141/0.001411, allocations: 101.4 kB / 16.94 MB, free: 6.445 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.001866/0.001866, allocations: 184.8 kB / 17.83 MB, free: 6.012 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.95/1.95, allocations: 205.4 MB / 224 MB, free: 13.18 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.000552/0.0005524, allocations: 19.12 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1519, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01424/0.1662, allocations: 9.529 MB / 337.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1778, allocations: 3.882 MB / 341.7 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003773/0.1817, allocations: 47.75 kB / 341.8 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.1853, allocations: 0.6842 MB / 342.5 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.1911, allocations: 0.849 MB / 343.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1935, allocations: 347.4 kB / 343.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006996/0.2005, allocations: 2.239 MB / 345.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/0.2037, allocations: 1.797 MB / 347.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.2073, allocations: 1.078 MB / 348.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.2112, allocations: 1.405 MB / 350.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008651/0.2121, allocations: 172 kB / 350.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.2142, allocations: 371.7 kB / 350.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.2153, allocations: 0.8256 MB / 351.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.2169, allocations: 0.6212 MB / 352.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007509/0.2245, allocations: 4.25 MB / 356.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2245, allocations: 0 / 356.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.512e-06/0.2246, allocations: 0 / 356.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002464/0.2248, allocations: 0 / 356.4 MB, free: 7.906 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.01132/0.2361, allocations: 3.17 MB / 359.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.2362, allocations: 12.03 kB / 359.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/0.2393, allocations: 435.8 kB / 360 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/0.2457, allocations: 1.79 MB / 361.8 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.2461, allocations: 201.4 kB / 362 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.2472, allocations: 272 kB / 362.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009301/0.2565, allocations: 3.501 MB / 365.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.391e-05/0.2567, allocations: 7.906 kB / 365.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.257, allocations: 104 kB / 365.9 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.2572, allocations: 125.2 kB / 366 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007214/0.2645, allocations: 2.98 MB / 369 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3895/0.6541, allocations: 11.14 MB / 380.1 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/0.6607, allocations: 2.29 MB / 382.4 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.6613, allocations: 203.8 kB / 382.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.6614, allocations: 54.88 kB / 382.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 1.112e-05/0.6614, allocations: 0 / 382.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02478/0.6862, allocations: 7.764 MB / 390.4 MB, free: 43.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.6864, allocations: 71.45 kB / 390.5 MB, free: 43.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006632/0.693, allocations: 1.954 MB / 392.5 MB, free: 42.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003766/0.6934, allocations: 53.58 kB / 392.5 MB, free: 42.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.6951, allocations: 1.302 MB / 393.8 MB, free: 41.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008552/0.696, allocations: 0.5038 MB / 394.3 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.6962, allocations: 35.84 kB / 394.3 MB, free: 41.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.6965, allocations: 376.3 kB / 394.7 MB, free: 40.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.6986, allocations: 0.8961 MB / 395.6 MB, free: 40.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.7013, allocations: 1.375 MB / 397 MB, free: 39.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.7035, allocations: 1.099 MB / 398.1 MB, free: 39.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.551e-05/0.7035, allocations: 7.844 kB / 398.1 MB, free: 39.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006479/0.71, allocations: 2.972 MB / 401.1 MB, free: 38.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.7101, allocations: 10.97 kB / 401.1 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-05/0.7102, allocations: 14.28 kB / 401.1 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.7115, allocations: 439.7 kB / 401.5 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.7132, allocations: 455.8 kB / 402 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.7193, allocations: 5.478 MB / 407.4 MB, free: 33.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/0.7221, allocations: 129.3 kB / 407.6 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.7225, allocations: 75.48 kB / 407.6 MB, free: 33.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (202): * Single equations (assignments): 197 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002776/0.7253, allocations: 0.8455 MB / 408.5 MB, free: 32.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.7263, allocations: 213 kB / 408.7 MB, free: 32.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/0.7315, allocations: 2.596 MB / 411.3 MB, free: 29.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.107e-05/0.7315, allocations: 22.44 kB / 411.3 MB, free: 29.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/0.7316, allocations: 4 kB / 411.3 MB, free: 29.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.7316, allocations: 11.97 kB / 411.3 MB, free: 29.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.7443, allocations: 5.623 MB / 417 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/0.7444, allocations: 4 kB / 417 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.7457, allocations: 300 kB / 417.2 MB, free: 23.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.7471, allocations: 482.5 kB / 417.7 MB, free: 23.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.7473, allocations: 39.97 kB / 417.8 MB, free: 23.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.7539, allocations: 6.99 MB / 424.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.754, allocations: 11.97 kB / 424.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007399/0.7614, allocations: 4.062 MB / 428.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/0.7638, allocations: 486.4 kB / 429.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009671/0.7648, allocations: 41.42 kB / 429.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.7666, allocations: 114.6 kB / 429.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.767, allocations: 117.1 kB / 429.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.7671, allocations: 43.98 kB / 429.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002925/0.77, allocations: 1.332 MB / 430.9 MB, free: 9.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7701, allocations: 0.7656 kB / 430.9 MB, free: 9.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003537/0.7736, allocations: 0.5848 MB / 431.5 MB, free: 8.879 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (128): * Single equations (assignments): 123 * 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%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006188/0.7742, allocations: 188.2 kB / 431.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004735/0.779, allocations: 2.605 MB / 434.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.779, allocations: 0 / 434.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.7816, allocations: 1.611 MB / 435.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.7848, allocations: 459.5 kB / 436.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.7996, allocations: 6.653 MB / 443 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/0.8035, allocations: 2.186 MB / 445.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002526/0.8061, allocations: 481 kB / 445.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009304/0.807, allocations: 135.4 kB / 445.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of SimCode: time 2.795e-06/0.8071, allocations: 4 kB / 445.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Templates: time 0.07051/0.8776, allocations: 28.39 MB / 474.2 MB, free: 14 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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