Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, 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.173/1.173, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009059/0.0009059, allocations: 94.28 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007277/0.0007278, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1882, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01307/0.2013, allocations: 16.38 MB / 390.2 MB, free: 32.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.209, allocations: 5.384 MB / 395.6 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.2115, allocations: 87.62 kB / 395.7 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.2138, allocations: 1.093 MB / 396.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.2166, allocations: 1.445 MB / 398.2 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2181, allocations: 0.9654 MB / 399.2 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.2212, allocations: 5.36 MB / 404.5 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.2236, allocations: 3.188 MB / 407.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.2248, allocations: 1.848 MB / 409.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.2263, allocations: 2.439 MB / 412 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.2267, allocations: 364 kB / 412.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008831/0.2276, allocations: 0.5896 MB / 413 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005917/0.2282, allocations: 1.145 MB / 414.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.2296, allocations: 2.371 MB / 416.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.2335, allocations: 7.816 MB / 424.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2336, allocations: 0 / 424.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2336, allocations: 0 / 424.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.686e-05/0.2336, allocations: 0 / 424.3 MB, free: 14.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.009836/0.2435, allocations: 5.37 MB / 429.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2435, allocations: 12.03 kB / 429.7 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/0.2478, allocations: 0.987 MB / 430.7 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.252, allocations: 2.695 MB / 433.4 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.2522, allocations: 316.2 kB / 433.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004784/0.2527, allocations: 395.9 kB / 434.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007006/0.2597, allocations: 5.221 MB / 439.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.213e-05/0.2598, allocations: 0 / 439.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.2601, allocations: 164 kB / 439.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.2603, allocations: 176 kB / 439.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006261/0.2665, allocations: 4.443 MB / 444.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.2869, allocations: 16.83 MB / 460.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/0.2937, allocations: 8.436 MB / 469.3 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.2961, allocations: 1.71 MB / 471 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006783/0.3029, allocations: 4.986 MB / 476 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.303, allocations: 51.88 kB / 476.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=156): time 2.464e-06/0.303, allocations: 0 / 476.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=159): time 0.009867/0.3128, allocations: 6.123 MB / 482.2 MB, free: 2.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3129, allocations: 68.72 kB / 482.3 MB, free: 2.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.3157, allocations: 2.317 MB / 484.6 MB, free: 388 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.3158, allocations: 49.7 kB / 484.6 MB, free: 332 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.3169, allocations: 1.844 MB / 486.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.3173, allocations: 0.5468 MB / 487 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.3179, allocations: 391.6 kB / 487.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.318, allocations: 309.1 kB / 487.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.3193, allocations: 0.8436 MB / 488.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.3209, allocations: 1.564 MB / 490.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/0.324, allocations: 2.559 MB / 492.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.324, allocations: 11.94 kB / 492.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004001/0.328, allocations: 2.887 MB / 495.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.328, allocations: 16 kB / 495.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.3281, allocations: 24 kB / 495.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.3283, allocations: 122.2 kB / 495.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.3302, allocations: 0.5421 MB / 496.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3316, allocations: 1.818 MB / 498.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.333, allocations: 115.9 kB / 498.2 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.3331, allocations: 95.98 kB / 498.3 MB, free: 1.773 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001602/0.3347, allocations: 1.192 MB / 499.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.335, allocations: 245.2 kB / 499.7 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.3388, allocations: 2.448 MB / 0.4904 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.3388, allocations: 16 kB / 0.4904 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3388, allocations: 4 kB / 0.4904 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3388, allocations: 7.969 kB / 0.4904 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/0.3469, allocations: 5.806 MB / 0.4961 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3469, allocations: 0 / 0.4961 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.3481, allocations: 287.8 kB / 0.4964 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/0.3489, allocations: 326.2 kB / 0.4967 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.349, allocations: 39.98 kB / 0.4967 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/0.3548, allocations: 6.383 MB / 0.503 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3549, allocations: 4 kB / 0.503 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1708/0.5257, allocations: 21.42 MB / 0.5239 GB, free: 107.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000734/0.5265, allocations: 0.498 MB / 0.5244 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.5267, allocations: 35.78 kB / 0.5244 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5277, allocations: 81.41 kB / 0.5245 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.528, allocations: 124.8 kB / 0.5246 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.5281, allocations: 50 kB / 0.5246 GB, free: 107.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00173/0.5298, allocations: 1.567 MB / 0.5262 GB, free: 106.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5298, allocations: 0 / 0.5262 GB, free: 106.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002217/0.532, allocations: 0.913 MB / 0.5271 GB, free: 106.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.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 (132): * Single equations (assignments): 129 * Array equations: 0 * 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 {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.5323, allocations: 174.5 kB / 0.5272 GB, free: 106.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.5352, allocations: 2.259 MB / 0.5294 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5352, allocations: 0 / 0.5294 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.5368, allocations: 1.446 MB / 0.5308 GB, free: 104.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.5389, allocations: 0.5726 MB / 0.5314 GB, free: 103.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.5481, allocations: 10.14 MB / 0.5413 GB, free: 93.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.5497, allocations: 2.719 MB / 0.544 GB, free: 90.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001583/0.5513, allocations: 0.5591 MB / 0.5445 GB, free: 90.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.5517, allocations: 163.4 kB / 0.5447 GB, free: 90.04 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5517, allocations: 0 / 0.5447 GB, free: 90.04 MB / 394.7 MB Notification: Performance of Templates: time 0.04196/0.5937, allocations: 35.73 MB / 0.5796 GB, free: 54.31 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches