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.001011/0.001011, allocations: 95.69 kB / 17.3 MB, free: 6.391 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.001138/0.001139, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.896/1.896, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0007117/0.000712, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.15, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01418/0.1642, allocations: 11.07 MB / 340 MB, free: 8.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.1755, allocations: 3.906 MB / 343.9 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.1784, allocations: 47.75 kB / 344 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003059/0.1815, allocations: 0.7422 MB / 344.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005088/0.1866, allocations: 0.8858 MB / 345.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.1887, allocations: 471.5 kB / 346.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.195, allocations: 3.877 MB / 350 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.1983, allocations: 2.217 MB / 352.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.2009, allocations: 1.167 MB / 353.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.2047, allocations: 1.642 MB / 355 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007196/0.2054, allocations: 172 kB / 355.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2071, allocations: 435.5 kB / 355.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.2083, allocations: 0.8719 MB / 356.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.2111, allocations: 1.556 MB / 358 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006476/0.2176, allocations: 5.025 MB / 363 MB, free: 1.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.2177, allocations: 4 kB / 363 MB, free: 1.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2177, allocations: 0 / 363 MB, free: 1.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001872/0.2179, allocations: 0 / 363 MB, free: 1.488 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.00861/0.2265, allocations: 3.158 MB / 366.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.2266, allocations: 8.031 kB / 366.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.2285, allocations: 436.7 kB / 366.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/0.2323, allocations: 1.829 MB / 368.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.2326, allocations: 221.3 kB / 368.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.233, allocations: 271.9 kB / 368.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007654/0.2407, allocations: 3.529 MB / 372.5 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.762e-05/0.2408, allocations: 4 kB / 372.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.2411, allocations: 116 kB / 372.6 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/0.2413, allocations: 121.2 kB / 372.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006232/0.2475, allocations: 2.999 MB / 375.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3306/0.5782, allocations: 11.15 MB / 386.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/0.5831, allocations: 2.311 MB / 389.2 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.5864, allocations: 1.197 MB / 390.4 MB, free: 43.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005252/0.587, allocations: 210 kB / 390.6 MB, free: 43.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/0.587, allocations: 53.69 kB / 390.6 MB, free: 43.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 6.502e-06/0.5871, allocations: 0 / 390.6 MB, free: 43.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01988/0.6069, allocations: 7.646 MB / 398.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.6071, allocations: 64.56 kB / 398.3 MB, free: 39.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003705/0.6108, allocations: 1.973 MB / 400.3 MB, free: 38.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.6111, allocations: 51.14 kB / 400.3 MB, free: 38.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.6123, allocations: 1.314 MB / 401.7 MB, free: 37.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005402/0.6128, allocations: 0.5045 MB / 402.2 MB, free: 36.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.6131, allocations: 151.4 kB / 402.3 MB, free: 36.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.6132, allocations: 305.1 kB / 402.6 MB, free: 36.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.6146, allocations: 0.897 MB / 403.5 MB, free: 36.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.6165, allocations: 1.386 MB / 404.9 MB, free: 35.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.6196, allocations: 2.417 MB / 407.3 MB, free: 33.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.6196, allocations: 3.938 kB / 407.3 MB, free: 33.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005232/0.6249, allocations: 3.008 MB / 410.3 MB, free: 30.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.625, allocations: 12 kB / 410.3 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.625, allocations: 16 kB / 410.4 MB, free: 30.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.6263, allocations: 477.2 kB / 410.8 MB, free: 30.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.6278, allocations: 435.3 kB / 411.2 MB, free: 29.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/0.6334, allocations: 5.602 MB / 416.8 MB, free: 24.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.6363, allocations: 130.8 kB / 417 MB, free: 23.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/0.6366, allocations: 78.06 kB / 417.1 MB, free: 23.83 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 (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.002344/0.639, allocations: 0.8486 MB / 417.9 MB, free: 22.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/0.6398, allocations: 209.5 kB / 418.1 MB, free: 22.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.6442, allocations: 2.618 MB / 420.7 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.943e-05/0.6443, allocations: 16 kB / 420.7 MB, free: 20.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.6443, allocations: 4 kB / 420.7 MB, free: 20.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.6443, allocations: 11.97 kB / 420.8 MB, free: 20.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00956/0.6539, allocations: 5.689 MB / 426.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.654, allocations: 4 kB / 426.4 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.6551, allocations: 296.1 kB / 426.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.6564, allocations: 494 kB / 427.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.6565, allocations: 50.81 kB / 427.3 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/0.6631, allocations: 7.045 MB / 434.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6631, allocations: 7.938 kB / 434.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/0.6696, allocations: 3.894 MB / 438.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/0.6714, allocations: 482.3 kB / 438.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.6717, allocations: 35.98 kB / 438.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.6729, allocations: 115.9 kB / 438.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.6734, allocations: 121 kB / 439 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6735, allocations: 47.98 kB / 439 MB, free: 1.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002332/0.6758, allocations: 1.356 MB / 440.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6758, allocations: 3.281 kB / 440.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003167/0.679, allocations: 0.5854 MB / 440.9 MB, free: 15.24 MB / 334.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 (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.0007417/0.6798, allocations: 221.2 kB / 441.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005632/0.6854, allocations: 2.63 MB / 443.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/0.6854, allocations: 4 kB / 443.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.6887, allocations: 1.629 MB / 445.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/0.6934, allocations: 470.2 kB / 445.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.7074, allocations: 7.003 MB / 452.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.7097, allocations: 2.136 MB / 455 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002051/0.7118, allocations: 472.9 kB / 455.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.7123, allocations: 139.4 kB / 455.6 MB, free: 392 kB / 334.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7123, allocations: 0 / 455.6 MB, free: 392 kB / 334.1 MB Notification: Performance of Templates: time 0.06636/0.7786, allocations: 29.18 MB / 484.8 MB, free: 3.176 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