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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 102.2 kB / 21.93 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 348.5 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 49.16 MB / 397.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01761/0.3639, allocations: 14.44 MB / 412.1 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.3785, allocations: 5.185 MB / 417.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004796/0.3833, allocations: 114.8 kB / 417.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004796/0.3881, allocations: 1.232 MB / 418.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.3956, allocations: 1.587 MB / 420.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.3996, allocations: 1.067 MB / 421.2 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009328/0.409, allocations: 5.119 MB / 426.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006388/0.4153, allocations: 2.118 MB / 428.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/0.4207, allocations: 2.235 MB / 430.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/0.4263, allocations: 2.471 MB / 433.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.4287, allocations: 0.6094 MB / 433.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.4319, allocations: 0.8161 MB / 434.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002395/0.4343, allocations: 1.429 MB / 436 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005572/0.4399, allocations: 2.097 MB / 438.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.4543, allocations: 8.136 MB / 446.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4543, allocations: 0 / 446.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4544, allocations: 4 kB / 446.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.4547, allocations: 0 / 446.3 MB, free: 2.453 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.01855/0.4732, allocations: 5.41 MB / 451.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.4733, allocations: 15.98 kB / 451.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/0.4797, allocations: 1.009 MB / 452.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007864/0.4876, allocations: 2.742 MB / 455.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/0.488, allocations: 304.2 kB / 455.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.4895, allocations: 407.9 kB / 456.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.5043, allocations: 5.352 MB / 461.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.5045, allocations: 7.953 kB / 461.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.5055, allocations: 171.9 kB / 461.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/0.5057, allocations: 168 kB / 461.8 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.5158, allocations: 4.435 MB / 466.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.5487, allocations: 14.34 MB / 480.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006616/0.5553, allocations: 3.171 MB / 483.8 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.5587, allocations: 1.563 MB / 485.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00941/0.5681, allocations: 3.855 MB / 489.2 MB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.5681, allocations: 47.88 kB / 489.2 MB, free: 6.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 4.268e-06/0.5681, allocations: 0 / 489.2 MB, free: 6.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.0136/0.5817, allocations: 5.682 MB / 494.9 MB, free: 1.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.5818, allocations: 72.7 kB / 495 MB, free: 1.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.5861, allocations: 2.084 MB / 497.1 MB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.5864, allocations: 57.7 kB / 497.1 MB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.5881, allocations: 1.915 MB / 499.1 MB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/0.5888, allocations: 0.5733 MB / 499.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007931/0.5896, allocations: 395.8 kB / 0.4883 GB, free: 12.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5897, allocations: 309.1 kB / 0.4886 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.5914, allocations: 0.8397 MB / 0.4894 GB, free: 10.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.5938, allocations: 1.585 MB / 0.491 GB, free: 8.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.5978, allocations: 2.555 MB / 0.4935 GB, free: 6.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/0.5978, allocations: 8 kB / 0.4935 GB, free: 6.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005399/0.6032, allocations: 2.791 MB / 0.4962 GB, free: 3.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.6032, allocations: 20.03 kB / 0.4962 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/0.6033, allocations: 23.94 kB / 0.4962 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.6036, allocations: 125.6 kB / 0.4963 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.6057, allocations: 0.5421 MB / 0.4969 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.6076, allocations: 1.851 MB / 0.4987 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.6095, allocations: 112 kB / 0.4988 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.6097, allocations: 100 kB / 0.4989 GB, free: 412 kB / 414.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.002286/0.612, allocations: 1.192 MB / 0.5001 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.6125, allocations: 238.5 kB / 0.5003 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.6171, allocations: 2.257 MB / 0.5025 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.6171, allocations: 16 kB / 0.5025 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.6171, allocations: 7.984 kB / 0.5025 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6171, allocations: 7.984 kB / 0.5025 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.6273, allocations: 4.759 MB / 0.5072 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6273, allocations: 0 / 0.5072 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.6287, allocations: 287.8 kB / 0.5074 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009011/0.6296, allocations: 318.2 kB / 0.5077 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.6297, allocations: 39.98 kB / 0.5078 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/0.6371, allocations: 6.513 MB / 0.5141 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6371, allocations: 0 / 0.5141 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006483/0.6435, allocations: 3.363 MB / 0.5174 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.6451, allocations: 418.3 kB / 0.5178 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006217/0.6457, allocations: 43.94 kB / 0.5179 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.6475, allocations: 79.92 kB / 0.5179 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/0.6478, allocations: 129 kB / 0.5181 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.6479, allocations: 43.98 kB / 0.5181 GB, free: 12.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00318/0.6511, allocations: 1.379 MB / 0.5195 GB, free: 10.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6511, allocations: 4 kB / 0.5195 GB, free: 10.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003068/0.6542, allocations: 0.664 MB / 0.5201 GB, free: 10.16 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.0004547/0.6546, allocations: 167 kB / 0.5203 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004353/0.659, allocations: 2.107 MB / 0.5223 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.659, allocations: 4 kB / 0.5223 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0025/0.6615, allocations: 1.376 MB / 0.5237 GB, free: 6.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.6645, allocations: 0.4989 MB / 0.5242 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.679, allocations: 6.964 MB / 0.531 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00323/0.6823, allocations: 2.063 MB / 0.533 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008619/0.6831, allocations: 175.4 kB / 0.5331 GB, free: 12.67 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6831, allocations: 0 / 0.5331 GB, free: 12.67 MB / 462.1 MB Notification: Performance of Templates: time 0.3313/1.014, allocations: 95.56 MB / 0.6265 GB, free: 92.85 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.239406855776906]