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.001939/0.001939, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002323/0.002323, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.482/1.482, allocations: 207.6 MB / 236 MB, free: 9.977 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.002065/0.002065, allocations: 59.92 kB / 348.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2783, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01701/0.2953, allocations: 16.71 MB / 414.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.3091, allocations: 5.484 MB / 419.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004824/0.314, allocations: 115.9 kB / 419.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005257/0.3192, allocations: 1.287 MB / 421.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007872/0.3271, allocations: 1.608 MB / 422.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.3308, allocations: 1.104 MB / 423.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009557/0.3404, allocations: 5.126 MB / 429.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/0.3448, allocations: 2.208 MB / 431.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/0.3497, allocations: 2.236 MB / 433.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/0.3555, allocations: 2.639 MB / 436.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.3571, allocations: 0.6133 MB / 436.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.36, allocations: 0.8357 MB / 437.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.3617, allocations: 1.433 MB / 439 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004824/0.3665, allocations: 2.633 MB / 441.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.3787, allocations: 8.095 MB / 449.8 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3787, allocations: 4 kB / 449.8 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3787, allocations: 0 / 449.8 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002679/0.379, allocations: 0 / 449.8 MB, free: 15 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.01651/0.3955, allocations: 5.418 MB / 455.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3955, allocations: 15.98 kB / 455.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/0.401, allocations: 1.009 MB / 456.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/0.4085, allocations: 2.738 MB / 458.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004736/0.409, allocations: 304.2 kB / 459.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.4105, allocations: 407.9 kB / 459.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.4262, allocations: 5.205 MB / 464.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.4264, allocations: 11.89 kB / 464.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.4276, allocations: 160 kB / 465 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.4278, allocations: 176 kB / 465.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.4402, allocations: 4.443 MB / 469.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/0.4778, allocations: 16.34 MB / 486 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.4846, allocations: 3.195 MB / 489.2 MB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003235/0.4878, allocations: 1.569 MB / 490.7 MB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.4984, allocations: 4.292 MB / 495 MB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.4984, allocations: 55.88 kB / 495.1 MB, free: 1.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 4.538e-06/0.4985, allocations: 0 / 495.1 MB, free: 1.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01361/0.5121, allocations: 5.697 MB / 0.489 GB, free: 11.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.5121, allocations: 68.72 kB / 0.4891 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004569/0.5167, allocations: 2.29 MB / 0.4913 GB, free: 9.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.5169, allocations: 53.7 kB / 0.4914 GB, free: 8.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.5185, allocations: 1.901 MB / 0.4932 GB, free: 7.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000593/0.5191, allocations: 0.5655 MB / 0.4938 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/0.5199, allocations: 399.9 kB / 0.4942 GB, free: 6.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.52, allocations: 305.1 kB / 0.4945 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.5216, allocations: 0.8358 MB / 0.4953 GB, free: 4.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.5239, allocations: 1.564 MB / 0.4968 GB, free: 3.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.528, allocations: 2.555 MB / 0.4993 GB, free: 156 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/0.5281, allocations: 11.94 kB / 0.4993 GB, free: 144 kB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00685/0.5349, allocations: 2.814 MB / 0.5021 GB, free: 13.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.535, allocations: 20.03 kB / 0.5021 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/0.535, allocations: 24 kB / 0.5021 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.5355, allocations: 133.6 kB / 0.5022 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.5377, allocations: 0.5382 MB / 0.5028 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.5398, allocations: 1.878 MB / 0.5046 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.542, allocations: 119.9 kB / 0.5047 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.5423, allocations: 92 kB / 0.5048 GB, free: 10.4 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.002998/0.5453, allocations: 1.196 MB / 0.506 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009012/0.5462, allocations: 258.3 kB / 0.5062 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/0.5516, allocations: 2.274 MB / 0.5084 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.5516, allocations: 12 kB / 0.5084 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/0.5516, allocations: 12 kB / 0.5085 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.5517, allocations: 15.84 kB / 0.5085 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5653, allocations: 5.582 MB / 0.5139 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.5653, allocations: 4 kB / 0.5139 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.5667, allocations: 279.6 kB / 0.5142 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009465/0.5676, allocations: 326.5 kB / 0.5145 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.5678, allocations: 47.92 kB / 0.5145 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007698/0.5755, allocations: 6.633 MB / 0.521 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5755, allocations: 0 / 0.521 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007031/0.5825, allocations: 3.406 MB / 0.5244 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.5841, allocations: 438.2 kB / 0.5248 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007474/0.5849, allocations: 40 kB / 0.5248 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.5866, allocations: 79.92 kB / 0.5249 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/0.587, allocations: 121.1 kB / 0.525 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.5871, allocations: 51.98 kB / 0.525 GB, free: 5.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003673/0.5908, allocations: 1.552 MB / 0.5266 GB, free: 3.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5908, allocations: 0 / 0.5266 GB, free: 3.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003738/0.5946, allocations: 0.6718 MB / 0.5272 GB, free: 2.887 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.0005887/0.5951, allocations: 174.9 kB / 0.5274 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004769/0.5999, allocations: 2.101 MB / 0.5294 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.5999, allocations: 3.938 kB / 0.5294 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.6027, allocations: 1.37 MB / 0.5308 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/0.607, allocations: 0.601 MB / 0.5314 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.6255, allocations: 7.005 MB / 0.5382 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004825/0.6303, allocations: 2.599 MB / 0.5407 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.6315, allocations: 183.4 kB / 0.5409 GB, free: 4.711 MB / 462.1 MB Notification: Performance of SimCode: time 1.944e-06/0.6315, allocations: 0 / 0.5409 GB, free: 4.711 MB / 462.1 MB Notification: Performance of Templates: time 0.3295/0.961, allocations: 95.93 MB / 0.6346 GB, free: 86.02 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: 15.117950330022722]