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.00193/0.00193, allocations: 109.9 kB / 21.18 MB, free: 0.7148 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.001625/0.001625, allocations: 185.2 kB / 24.46 MB, free: 4.094 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.506/1.506, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.001829/0.001829, allocations: 59.91 kB / 347.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2979, allocations: 49.15 MB / 396.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01698/0.3149, allocations: 16.73 MB / 413.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.3292, allocations: 5.484 MB / 419 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005438/0.3347, allocations: 115.4 kB / 419.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005171/0.3398, allocations: 1.28 MB / 420.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007311/0.3472, allocations: 1.653 MB / 422.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.3506, allocations: 1.09 MB / 423.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009302/0.3599, allocations: 5.127 MB / 428.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.3639, allocations: 2.204 MB / 430.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.3682, allocations: 2.237 MB / 432.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005131/0.3733, allocations: 2.635 MB / 435.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.3748, allocations: 0.6133 MB / 436 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.3774, allocations: 0.8395 MB / 436.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.3789, allocations: 1.429 MB / 438.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005929/0.3849, allocations: 2.633 MB / 440.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.3959, allocations: 8.099 MB / 449 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3959, allocations: 0 / 449 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3959, allocations: 0 / 449 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000216/0.3961, allocations: 4 kB / 449 MB, free: 15.04 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.01826/0.4144, allocations: 5.43 MB / 454.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4144, allocations: 15.98 kB / 454.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/0.4202, allocations: 1.009 MB / 455.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007279/0.4274, allocations: 2.73 MB / 458.2 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.4277, allocations: 312.2 kB / 458.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.4288, allocations: 396 kB / 458.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.4407, allocations: 5.213 MB / 464.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.139e-05/0.4408, allocations: 3.953 kB / 464.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.4412, allocations: 167.9 kB / 464.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002653/0.4415, allocations: 180 kB / 464.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.4515, allocations: 4.443 MB / 468.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.481, allocations: 16.33 MB / 485.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/0.4871, allocations: 3.199 MB / 488.4 MB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003278/0.4904, allocations: 1.561 MB / 490 MB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009805/0.5002, allocations: 4.288 MB / 494.2 MB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.5002, allocations: 55.81 kB / 494.3 MB, free: 1.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.797e-06/0.5002, allocations: 0 / 494.3 MB, free: 1.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01334/0.5136, allocations: 5.701 MB / 500 MB, free: 11.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.5136, allocations: 64.72 kB / 0.4883 GB, free: 11.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004265/0.5179, allocations: 2.294 MB / 0.4906 GB, free: 9.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.5181, allocations: 57.64 kB / 0.4906 GB, free: 8.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.5197, allocations: 1.901 MB / 0.4925 GB, free: 7.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/0.5203, allocations: 0.5694 MB / 0.493 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006887/0.521, allocations: 399.9 kB / 0.4934 GB, free: 6.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5211, allocations: 301.1 kB / 0.4937 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.5228, allocations: 0.8436 MB / 0.4945 GB, free: 4.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.525, allocations: 1.56 MB / 0.4961 GB, free: 3.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.529, allocations: 2.551 MB / 0.4986 GB, free: 196 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.529, allocations: 8 kB / 0.4986 GB, free: 188 kB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005189/0.5342, allocations: 2.826 MB / 0.5013 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.5343, allocations: 16 kB / 0.5013 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.5343, allocations: 20 kB / 0.5014 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.5346, allocations: 121.7 kB / 0.5015 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.5366, allocations: 0.5383 MB / 0.502 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.5386, allocations: 1.886 MB / 0.5038 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.5405, allocations: 115.9 kB / 0.5039 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.5406, allocations: 103.9 kB / 0.504 GB, free: 10.43 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.002243/0.5429, allocations: 1.192 MB / 0.5052 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005606/0.5435, allocations: 254.3 kB / 0.5055 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.548, allocations: 2.27 MB / 0.5077 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.548, allocations: 20 kB / 0.5077 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.548, allocations: 4 kB / 0.5077 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.548, allocations: 11.91 kB / 0.5077 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.5592, allocations: 5.586 MB / 0.5132 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5592, allocations: 0 / 0.5132 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.5606, allocations: 291.6 kB / 0.5134 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/0.5615, allocations: 318.4 kB / 0.5137 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.5617, allocations: 47.92 kB / 0.5138 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007949/0.5696, allocations: 6.636 MB / 0.5203 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5697, allocations: 7.938 kB / 0.5203 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006617/0.5763, allocations: 3.387 MB / 0.5236 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.5777, allocations: 446.2 kB / 0.524 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007387/0.5784, allocations: 36.11 kB / 0.524 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.5801, allocations: 79.94 kB / 0.5241 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/0.5805, allocations: 141 kB / 0.5243 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5806, allocations: 40 kB / 0.5243 GB, free: 5.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00386/0.5845, allocations: 1.552 MB / 0.5258 GB, free: 3.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5845, allocations: 0 / 0.5258 GB, free: 3.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003022/0.5875, allocations: 0.6679 MB / 0.5265 GB, free: 2.934 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.0004623/0.5879, allocations: 175 kB / 0.5266 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.5923, allocations: 2.101 MB / 0.5287 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5923, allocations: 4 kB / 0.5287 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.5947, allocations: 1.378 MB / 0.53 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.5977, allocations: 0.6011 MB / 0.5306 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.6123, allocations: 7.034 MB / 0.5375 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00361/0.6159, allocations: 2.661 MB / 0.5401 GB, free: 4.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002098/0.618, allocations: 0.5552 MB / 0.5406 GB, free: 4.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.6186, allocations: 167.4 kB / 0.5408 GB, free: 4.121 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6186, allocations: 0 / 0.5408 GB, free: 4.121 MB / 462.1 MB Notification: Performance of Templates: time 0.2472/0.8658, allocations: 32.56 MB / 0.5726 GB, free: 143 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.599923402070999]