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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 191.5 kB / 22.93 MB, free: 5.582 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.536/1.536, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.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=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.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.001659/0.001659, allocations: 54.11 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2707, allocations: 49.12 MB / 394.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01829/0.289, allocations: 16.72 MB / 411.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.3038, allocations: 5.485 MB / 416.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004154/0.308, allocations: 91.66 kB / 416.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004321/0.3123, allocations: 1.292 MB / 418.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006864/0.3192, allocations: 1.638 MB / 419.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.3229, allocations: 1.069 MB / 420.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009912/0.3328, allocations: 5.129 MB / 426 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004077/0.3369, allocations: 2.204 MB / 428.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.3413, allocations: 2.196 MB / 430.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.3472, allocations: 2.627 MB / 433 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.3489, allocations: 0.6172 MB / 433.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.3517, allocations: 0.8356 MB / 434.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.3534, allocations: 1.429 MB / 435.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006062/0.3595, allocations: 2.633 MB / 438.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.3745, allocations: 8.095 MB / 446.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3745, allocations: 0 / 446.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.573e-06/0.3745, allocations: 7.984 kB / 446.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003169/0.3749, allocations: 0 / 446.6 MB, free: 15.6 MB / 366.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.01586/0.3907, allocations: 5.493 MB / 452.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3908, allocations: 8.031 kB / 452.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005632/0.3964, allocations: 1.017 MB / 453.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.403, allocations: 2.81 MB / 455.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.4033, allocations: 312.2 kB / 456.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.4044, allocations: 392 kB / 456.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.4161, allocations: 5.217 MB / 461.8 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.2e-05/0.4162, allocations: 3.953 kB / 461.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.4166, allocations: 168.1 kB / 462 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.4168, allocations: 168 kB / 462.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009532/0.4263, allocations: 4.447 MB / 466.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.4651, allocations: 16.64 MB / 483.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009315/0.4745, allocations: 8.231 MB / 491.5 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/0.4779, allocations: 1.569 MB / 493.1 MB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009492/0.4874, allocations: 4.954 MB / 498 MB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.4875, allocations: 51.88 kB / 498.1 MB, free: 10.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 3.908e-06/0.4875, allocations: 0 / 498.1 MB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.01299/0.5005, allocations: 6.161 MB / 0.4924 GB, free: 3.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.5005, allocations: 64.72 kB / 0.4925 GB, free: 3.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.5043, allocations: 2.286 MB / 0.4947 GB, free: 1.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.5045, allocations: 57.7 kB / 0.4947 GB, free: 1.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.5062, allocations: 1.897 MB / 0.4966 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006068/0.5068, allocations: 0.5733 MB / 0.4972 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/0.5075, allocations: 395.9 kB / 0.4975 GB, free: 14.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5076, allocations: 305.1 kB / 0.4978 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.5092, allocations: 0.8436 MB / 0.4987 GB, free: 13.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.5114, allocations: 1.564 MB / 0.5002 GB, free: 11.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.5152, allocations: 2.555 MB / 0.5027 GB, free: 8.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.5152, allocations: 8 kB / 0.5027 GB, free: 8.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005342/0.5206, allocations: 2.892 MB / 0.5055 GB, free: 5.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.5206, allocations: 16 kB / 0.5055 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/0.5206, allocations: 20 kB / 0.5055 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/0.521, allocations: 122.2 kB / 0.5057 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.523, allocations: 0.5421 MB / 0.5062 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.525, allocations: 1.993 MB / 0.5081 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.5269, allocations: 107.8 kB / 0.5082 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.527, allocations: 100 kB / 0.5083 GB, free: 2.641 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.002609/0.5296, allocations: 1.2 MB / 0.5095 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006238/0.5303, allocations: 258.3 kB / 0.5098 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004706/0.535, allocations: 2.429 MB / 0.5121 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.535, allocations: 16 kB / 0.5121 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.535, allocations: 8.125 kB / 0.5121 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.535, allocations: 15.89 kB / 0.5122 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.5455, allocations: 5.757 MB / 0.5178 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5455, allocations: 4 kB / 0.5178 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.5469, allocations: 283.8 kB / 0.5181 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008672/0.5477, allocations: 318.2 kB / 0.5184 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5478, allocations: 43.92 kB / 0.5184 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007661/0.5555, allocations: 6.955 MB / 0.5252 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5555, allocations: 0 / 0.5252 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.5618, allocations: 3.553 MB / 0.5287 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.5631, allocations: 0.5032 MB / 0.5292 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.5633, allocations: 35.98 kB / 0.5292 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5645, allocations: 79.94 kB / 0.5293 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.5648, allocations: 121.1 kB / 0.5294 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5649, allocations: 47.98 kB / 0.5294 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00249/0.5674, allocations: 1.549 MB / 0.5309 GB, free: 10.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5674, allocations: 0 / 0.5309 GB, free: 10.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00232/0.5697, allocations: 0.6718 MB / 0.5316 GB, free: 10.05 MB / 462.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.0003923/0.5701, allocations: 167 kB / 0.5318 GB, free: 9.879 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003945/0.5741, allocations: 2.191 MB / 0.5339 GB, free: 7.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5741, allocations: 0 / 0.5339 GB, free: 7.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.5764, allocations: 1.371 MB / 0.5352 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.5792, allocations: 0.605 MB / 0.5358 GB, free: 5.641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5929, allocations: 7.031 MB / 0.5427 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.5957, allocations: 2.665 MB / 0.5453 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.5978, allocations: 0.5552 MB / 0.5458 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.5982, allocations: 167.4 kB / 0.546 GB, free: 11.14 MB / 478.1 MB Notification: Performance of SimCode: time 1.803e-06/0.5982, allocations: 0 / 0.546 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Templates: time 0.2418/0.8401, allocations: 31.82 MB / 0.5771 GB, free: 138.7 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/jenkins/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/jenkins/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: 6.514696135185659]