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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 109.4 kB / 18.4 MB, free: 4.672 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.001598/0.001598, allocations: 189.2 kB / 19.33 MB, free: 3.75 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.453/1.453, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.0012/0.0012, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2653/0.3683, allocations: 16.59 MB / 392.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.3837, allocations: 5.444 MB / 397.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005861/0.3896, allocations: 93 kB / 398 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006325/0.396, allocations: 1.257 MB / 399.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.4064, allocations: 1.587 MB / 400.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.4115, allocations: 1.058 MB / 401.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.4237, allocations: 5.12 MB / 407 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008516/0.4323, allocations: 3.841 MB / 410.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006275/0.4386, allocations: 2.19 MB / 413 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007487/0.4461, allocations: 2.601 MB / 415.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002607/0.4488, allocations: 0.6131 MB / 416.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.4533, allocations: 0.8273 MB / 417 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.4566, allocations: 1.416 MB / 418.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007042/0.4637, allocations: 2.636 MB / 421.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.4789, allocations: 8.073 MB / 429.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.479, allocations: 0 / 429.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.479, allocations: 0 / 429.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003053/0.4793, allocations: 4 kB / 429.2 MB, free: 10.22 MB / 350.1 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.02498/0.5043, allocations: 5.378 MB / 434.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.151e-05/0.5044, allocations: 8.031 kB / 434.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009374/0.5138, allocations: 0.9908 MB / 435.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008871/0.5227, allocations: 2.8 MB / 438.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/0.5232, allocations: 304.5 kB / 438.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/0.5248, allocations: 395.9 kB / 439 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.5409, allocations: 5.209 MB / 444.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.5411, allocations: 7.906 kB / 444.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007602/0.5418, allocations: 167.9 kB / 444.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.5421, allocations: 176 kB / 444.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.5558, allocations: 4.443 MB / 449 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04299/0.5989, allocations: 16.59 MB / 465.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.6101, allocations: 8.418 MB / 474 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/0.6149, allocations: 1.69 MB / 475.7 MB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.6267, allocations: 4.951 MB / 480.7 MB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.6268, allocations: 47.88 kB / 480.7 MB, free: 4.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 6.141e-06/0.6268, allocations: 0 / 480.7 MB, free: 4.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01702/0.6439, allocations: 6.115 MB / 486.8 MB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.644, allocations: 68.72 kB / 486.9 MB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/0.6491, allocations: 2.286 MB / 489.2 MB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003774/0.6495, allocations: 53.7 kB / 489.2 MB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.6512, allocations: 1.848 MB / 491.1 MB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/0.652, allocations: 0.5508 MB / 491.6 MB, free: 9.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009163/0.653, allocations: 395.6 kB / 492 MB, free: 9.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6531, allocations: 301.1 kB / 492.3 MB, free: 8.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.6554, allocations: 0.8397 MB / 493.2 MB, free: 7.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/0.6584, allocations: 1.56 MB / 494.7 MB, free: 6.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005499/0.664, allocations: 2.563 MB / 497.3 MB, free: 3.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-05/0.664, allocations: 4 kB / 497.3 MB, free: 3.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.007978/0.672, allocations: 2.876 MB / 0.4884 GB, free: 316 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.6721, allocations: 19.94 kB / 0.4885 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/0.6722, allocations: 24.53 kB / 0.4885 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.6727, allocations: 125.7 kB / 0.4886 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/0.676, allocations: 0.5421 MB / 0.4891 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.6786, allocations: 1.989 MB / 0.4911 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/0.6818, allocations: 124 kB / 0.4912 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.6823, allocations: 92 kB / 0.4913 GB, free: 13.26 MB / 430.1 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.003493/0.6858, allocations: 1.196 MB / 0.4925 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009589/0.6868, allocations: 248.9 kB / 0.4927 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007287/0.6941, allocations: 2.429 MB / 0.4951 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.6942, allocations: 16 kB / 0.4951 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-05/0.6942, allocations: 4 kB / 0.4951 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/0.6942, allocations: 7.969 kB / 0.4951 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.7108, allocations: 5.768 MB / 0.5007 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.7109, allocations: 8.219 kB / 0.5007 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.7131, allocations: 283.6 kB / 0.501 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.7145, allocations: 317.1 kB / 0.5013 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/0.7148, allocations: 35.98 kB / 0.5013 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.7249, allocations: 6.97 MB / 0.5081 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7249, allocations: 0 / 0.5081 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009149/0.7341, allocations: 3.54 MB / 0.5116 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/0.736, allocations: 0.5018 MB / 0.5121 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/0.7368, allocations: 32 kB / 0.5121 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/0.7388, allocations: 84.11 kB / 0.5122 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004474/0.7393, allocations: 121.1 kB / 0.5123 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.7395, allocations: 55.86 kB / 0.5124 GB, free: 6.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003833/0.7433, allocations: 1.549 MB / 0.5139 GB, free: 5.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7434, allocations: 4 kB / 0.5139 GB, free: 5.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00428/0.7477, allocations: 0.6641 MB / 0.5145 GB, free: 4.684 MB / 446.1 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.0006024/0.7483, allocations: 170.9 kB / 0.5147 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005764/0.7541, allocations: 2.274 MB / 0.5169 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.7541, allocations: 0 / 0.5169 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003583/0.7577, allocations: 1.445 MB / 0.5183 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/0.7628, allocations: 0.6064 MB / 0.5189 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.7819, allocations: 6.847 MB / 0.5256 GB, free: 9.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003658/0.7856, allocations: 2.599 MB / 0.5282 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/0.7869, allocations: 183.4 kB / 0.5283 GB, free: 6.414 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7869, allocations: 3.938 kB / 0.5283 GB, free: 6.41 MB / 462.1 MB Notification: Performance of Templates: time 0.3444/1.131, allocations: 96.07 MB / 0.6221 GB, free: 95.78 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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