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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 187 kB / 17.92 MB, free: 3.855 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.213/1.213, allocations: 205.1 MB / 223.7 MB, free: 8.488 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.0008848/0.0008847, allocations: 95.73 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007979/0.000798, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2075, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.00962/0.2172, allocations: 11.67 MB / 385.5 MB, free: 36.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.2228, allocations: 3.936 MB / 389.4 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.2237, allocations: 52.25 kB / 389.5 MB, free: 33.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.2251, allocations: 0.7508 MB / 390.2 MB, free: 32.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.2269, allocations: 0.8872 MB / 391.1 MB, free: 32.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.2276, allocations: 465.2 kB / 391.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.2299, allocations: 3.92 MB / 395.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.2317, allocations: 2.236 MB / 397.7 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.2328, allocations: 1.342 MB / 399.1 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.2342, allocations: 1.848 MB / 400.9 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003196/0.2345, allocations: 252 kB / 401.2 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.2353, allocations: 0.4995 MB / 401.7 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.2359, allocations: 0.989 MB / 402.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2369, allocations: 1.664 MB / 404.3 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002566/0.2395, allocations: 5.183 MB / 409.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2395, allocations: 0 / 409.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2395, allocations: 4 kB / 409.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.374e-05/0.2396, allocations: 0 / 409.5 MB, free: 13.67 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.005256/0.2448, allocations: 3.711 MB / 413.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2449, allocations: 12.03 kB / 413.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.2458, allocations: 428.7 kB / 413.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.2482, allocations: 1.833 MB / 415.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2483, allocations: 209.3 kB / 415.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.2486, allocations: 275.9 kB / 416 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.2527, allocations: 3.525 MB / 419.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/0.2527, allocations: 3.906 kB / 419.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.2529, allocations: 108 kB / 419.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-05/0.253, allocations: 125.2 kB / 419.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.2568, allocations: 2.964 MB / 422.7 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.2712, allocations: 11.09 MB / 433.8 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.2737, allocations: 2.286 MB / 436 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.2755, allocations: 1.188 MB / 437.2 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.2758, allocations: 207.4 kB / 437.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2759, allocations: 51.88 kB / 437.5 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 3.737e-06/0.2759, allocations: 0 / 437.5 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.01442/0.2903, allocations: 7.484 MB / 445 MB, free: 9.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2904, allocations: 72.7 kB / 445 MB, free: 9.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.2928, allocations: 1.975 MB / 447 MB, free: 7.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.765e-05/0.2929, allocations: 53.7 kB / 447.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.2937, allocations: 1.308 MB / 448.4 MB, free: 5.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.294, allocations: 0.5083 MB / 448.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/0.2945, allocations: 323.3 kB / 449.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.2946, allocations: 301.1 kB / 449.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.2959, allocations: 0.8784 MB / 450.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.2974, allocations: 1.376 MB / 451.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.3003, allocations: 2.39 MB / 454.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3004, allocations: 4 kB / 454.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004401/0.3048, allocations: 2.982 MB / 457.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3048, allocations: 8 kB / 457.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3048, allocations: 16.38 kB / 457.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009901/0.3058, allocations: 463.9 kB / 457.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.3073, allocations: 431.3 kB / 458 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.3127, allocations: 5.585 MB / 463.6 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3141, allocations: 131.7 kB / 463.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.3142, allocations: 75.98 kB / 463.8 MB, free: 5.629 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.001175/0.3154, allocations: 0.8485 MB / 464.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.3157, allocations: 209.6 kB / 464.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.3196, allocations: 2.587 MB / 467.5 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.3197, allocations: 16 kB / 467.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3197, allocations: 8 kB / 467.5 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3197, allocations: 15.97 kB / 467.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.3278, allocations: 5.638 MB / 473.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3278, allocations: 4 kB / 473.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.3289, allocations: 275.6 kB / 473.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.33, allocations: 0.4945 MB / 473.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3302, allocations: 43.92 kB / 473.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006345/0.3365, allocations: 7.041 MB / 481 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3365, allocations: 15.81 kB / 481 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03632/0.3729, allocations: 25.32 MB / 0.4945 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/0.3738, allocations: 482.3 kB / 0.4949 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.374, allocations: 35.98 kB / 0.4949 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.375, allocations: 99.89 kB / 0.495 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.3753, allocations: 117.1 kB / 0.4952 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/0.3754, allocations: 51.92 kB / 0.4952 GB, free: 8.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001758/0.3772, allocations: 1.36 MB / 0.4965 GB, free: 7.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3772, allocations: 0 / 0.4965 GB, free: 7.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002161/0.3794, allocations: 0.8124 MB / 0.4973 GB, free: 6.77 MB / 394.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.0003954/0.3798, allocations: 223 kB / 0.4975 GB, free: 6.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.3837, allocations: 2.593 MB / 0.5001 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3838, allocations: 8.188 kB / 0.5001 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.3862, allocations: 1.611 MB / 0.5017 GB, free: 2.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.3883, allocations: 469.9 kB / 0.5021 GB, free: 1.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1449/0.5332, allocations: 8.362 MB / 0.5103 GB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.5349, allocations: 2.192 MB / 0.5124 GB, free: 118.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001542/0.5365, allocations: 485 kB / 0.5129 GB, free: 118.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.537, allocations: 141 kB / 0.513 GB, free: 118.5 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.537, allocations: 4 kB / 0.513 GB, free: 118.5 MB / 394.7 MB Notification: Performance of Templates: time 0.04396/0.5809, allocations: 35.37 MB / 0.5475 GB, free: 89.71 MB / 394.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@2/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