Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 98.61 kB / 16.5 MB, free: 6.688 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.001584/0.001584, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009195/0.0009195, allocations: 44.38 kB / 300 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08629, allocations: 49.45 MB / 349.4 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01662/0.103, allocations: 16.43 MB / 365.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.169/0.272, allocations: 5.349 MB / 371.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.2746, allocations: 97 kB / 371.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.2775, allocations: 1.091 MB / 372.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.282, allocations: 1.465 MB / 373.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.2841, allocations: 0.9544 MB / 374.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.2904, allocations: 5.294 MB / 380.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004071/0.2945, allocations: 3.664 MB / 383.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.2974, allocations: 1.846 MB / 385.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.3007, allocations: 2.446 MB / 388.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006403/0.3013, allocations: 366.9 kB / 388.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.3029, allocations: 0.5837 MB / 389 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.3037, allocations: 1.154 MB / 390.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.306, allocations: 2.359 MB / 392.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.3114, allocations: 7.844 MB / 400.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3114, allocations: 0 / 400.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3114, allocations: 0 / 400.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3116, allocations: 0 / 400.4 MB, free: 14.16 MB / 318.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.01176/0.3234, allocations: 5.371 MB / 405.7 MB, free: 9.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3234, allocations: 8.031 kB / 405.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.3283, allocations: 0.9932 MB / 406.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/0.3332, allocations: 2.813 MB / 409.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.3335, allocations: 308.6 kB / 409.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.334, allocations: 402.3 kB / 410.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008345/0.3424, allocations: 5.218 MB / 415.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/0.3424, allocations: 7.938 kB / 415.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003603/0.3428, allocations: 166.2 kB / 415.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.343, allocations: 176 kB / 415.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007251/0.3502, allocations: 4.458 MB / 420.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/0.3739, allocations: 16.82 MB / 437.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/0.3809, allocations: 8.428 MB / 445.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.3836, allocations: 1.707 MB / 447.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008068/0.3917, allocations: 5.007 MB / 452.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.3918, allocations: 51.88 kB / 452.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.046e-06/0.3918, allocations: 0 / 452.3 MB, free: 8.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01135/0.4031, allocations: 6.161 MB / 458.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4032, allocations: 68.72 kB / 458.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.4064, allocations: 2.31 MB / 460.8 MB, free: 252 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.918e-05/0.4065, allocations: 53.7 kB / 460.9 MB, free: 192 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4079, allocations: 1.84 MB / 462.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.4083, allocations: 0.5489 MB / 463.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/0.4089, allocations: 395.6 kB / 463.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.409, allocations: 305.1 kB / 463.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4103, allocations: 0.8514 MB / 464.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.4121, allocations: 1.555 MB / 466.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.4155, allocations: 2.565 MB / 468.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4155, allocations: 8 kB / 468.9 MB, free: 7.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004615/0.4201, allocations: 2.895 MB / 471.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.4202, allocations: 22.59 kB / 471.8 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.4202, allocations: 24 kB / 471.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.4205, allocations: 121.7 kB / 472 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.4224, allocations: 0.5385 MB / 472.5 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.424, allocations: 1.814 MB / 474.3 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4256, allocations: 115.9 kB / 474.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.4258, allocations: 92 kB / 474.5 MB, free: 1.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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.001863/0.4277, allocations: 1.196 MB / 475.7 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.428, allocations: 244.9 kB / 476 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.4321, allocations: 2.469 MB / 478.4 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4322, allocations: 16 kB / 478.4 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4322, allocations: 4 kB / 478.4 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4322, allocations: 11.97 kB / 478.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008523/0.4407, allocations: 5.81 MB / 484.3 MB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4408, allocations: 4 kB / 484.3 MB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.442, allocations: 287.8 kB / 484.6 MB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00085/0.4429, allocations: 322.2 kB / 484.9 MB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.443, allocations: 43.92 kB / 484.9 MB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.4488, allocations: 6.399 MB / 491.3 MB, free: 380 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4489, allocations: 3.938 kB / 491.3 MB, free: 376 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/0.4546, allocations: 3.559 MB / 494.9 MB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.456, allocations: 0.5057 MB / 495.4 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.4563, allocations: 32 kB / 495.4 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.4574, allocations: 80.05 kB / 495.5 MB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.4577, allocations: 129.1 kB / 495.6 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-05/0.4578, allocations: 43.98 kB / 495.7 MB, free: 11.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002245/0.4601, allocations: 1.568 MB / 497.2 MB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4601, allocations: 0 / 497.2 MB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002071/0.4621, allocations: 0.6682 MB / 497.9 MB, free: 9.668 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0003204/0.4625, allocations: 182.8 kB / 498.1 MB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003523/0.466, allocations: 2.27 MB / 0.4886 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.466, allocations: 4.125 kB / 0.4886 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.4681, allocations: 1.44 MB / 0.49 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.4707, allocations: 0.5583 MB / 0.4906 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.482, allocations: 8.633 MB / 0.499 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.4841, allocations: 2.665 MB / 0.5016 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001946/0.4861, allocations: 0.5513 MB / 0.5021 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.4866, allocations: 163.4 kB / 0.5023 GB, free: 9.07 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4866, allocations: 0 / 0.5023 GB, free: 9.07 MB / 430.1 MB Notification: Performance of Templates: time 0.2152/0.7018, allocations: 31.2 MB / 0.5328 GB, free: 146.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches