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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00148/0.00148, allocations: 190.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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=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_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=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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 39.94 kB / 370.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2432, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01969/0.2629, allocations: 14.51 MB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.2745, allocations: 5.153 MB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.2779, allocations: 127.2 kB / 442.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.2821, allocations: 1.223 MB / 444.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.2876, allocations: 1.654 MB / 445.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.2906, allocations: 1.025 MB / 446.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007527/0.2981, allocations: 5.123 MB / 451.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004422/0.3025, allocations: 2.21 MB / 454.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.3059, allocations: 2.235 MB / 456.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.3105, allocations: 2.474 MB / 458.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.3123, allocations: 0.6133 MB / 459.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.3157, allocations: 0.82 MB / 460.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002604/0.3183, allocations: 1.429 MB / 461.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005894/0.3242, allocations: 2.097 MB / 463.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3357, allocations: 8.156 MB / 471.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3357, allocations: 3.938 kB / 471.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3357, allocations: 0 / 471.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002444/0.3359, allocations: 3.938 kB / 471.9 MB, free: 13.37 MB / 382.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.01738/0.3533, allocations: 5.422 MB / 477.4 MB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3533, allocations: 8.031 kB / 477.4 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005899/0.3592, allocations: 1.005 MB / 478.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007682/0.3669, allocations: 2.909 MB / 481.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.3673, allocations: 312.2 kB / 481.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.3685, allocations: 396 kB / 482 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.381, allocations: 5.364 MB / 487.3 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.3811, allocations: 11.89 kB / 487.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007292/0.3818, allocations: 164 kB / 487.5 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.382, allocations: 172 kB / 487.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009966/0.392, allocations: 4.451 MB / 492.1 MB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03018/0.4222, allocations: 14.31 MB / 0.4946 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006318/0.4285, allocations: 3.191 MB / 0.4977 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/0.4316, allocations: 1.554 MB / 0.4992 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009216/0.4409, allocations: 3.874 MB / 0.503 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.4409, allocations: 55.81 kB / 0.503 GB, free: 1.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 4.148e-06/0.4409, allocations: 0 / 0.503 GB, free: 1.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.01326/0.4542, allocations: 5.705 MB / 0.5086 GB, free: 11.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.4542, allocations: 72.72 kB / 0.5087 GB, free: 11.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/0.458, allocations: 2.084 MB / 0.5107 GB, free: 9.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.4581, allocations: 53.7 kB / 0.5108 GB, free: 9.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.4598, allocations: 1.911 MB / 0.5126 GB, free: 7.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005771/0.4603, allocations: 0.5733 MB / 0.5132 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006885/0.461, allocations: 399.9 kB / 0.5136 GB, free: 6.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4611, allocations: 301.1 kB / 0.5139 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.4628, allocations: 0.8436 MB / 0.5147 GB, free: 5.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.4651, allocations: 1.584 MB / 0.5162 GB, free: 3.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.4691, allocations: 2.558 MB / 0.5187 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.4692, allocations: 4 kB / 0.5187 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0055/0.4747, allocations: 2.803 MB / 0.5215 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.4747, allocations: 20 kB / 0.5215 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/0.4747, allocations: 20 kB / 0.5215 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.4751, allocations: 129.6 kB / 0.5216 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.4772, allocations: 0.5421 MB / 0.5222 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.4792, allocations: 1.844 MB / 0.524 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.481, allocations: 115.9 kB / 0.5241 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.4812, allocations: 99.98 kB / 0.5242 GB, free: 11.09 MB / 446.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.002273/0.4834, allocations: 1.188 MB / 0.5253 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007446/0.4842, allocations: 238.5 kB / 0.5256 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004796/0.489, allocations: 2.261 MB / 0.5278 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.489, allocations: 19.98 kB / 0.5278 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.489, allocations: 12.12 kB / 0.5278 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.489, allocations: 7.969 kB / 0.5278 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009847/0.4989, allocations: 4.758 MB / 0.5325 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4989, allocations: 4 kB / 0.5325 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.5002, allocations: 291.8 kB / 0.5327 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008756/0.5011, allocations: 321.2 kB / 0.533 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.5012, allocations: 39.98 kB / 0.5331 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.202/0.7032, allocations: 6.493 MB / 0.5394 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7032, allocations: 3.312 kB / 0.5394 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/0.7084, allocations: 3.387 MB / 0.5427 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.7094, allocations: 408.2 kB / 0.5431 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.7097, allocations: 33.95 kB / 0.5432 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.7108, allocations: 83.44 kB / 0.5432 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.711, allocations: 128.3 kB / 0.5434 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.7111, allocations: 50.39 kB / 0.5434 GB, free: 100.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001611/0.7127, allocations: 1.379 MB / 0.5448 GB, free: 99.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7127, allocations: 0 / 0.5448 GB, free: 99.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001775/0.7145, allocations: 0.6641 MB / 0.5454 GB, free: 99.86 MB / 446.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.0002716/0.7147, allocations: 183.3 kB / 0.5456 GB, free: 99.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.7177, allocations: 2.116 MB / 0.5476 GB, free: 98.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7177, allocations: 1.75 kB / 0.5476 GB, free: 98.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.7194, allocations: 1.363 MB / 0.549 GB, free: 98.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.7214, allocations: 495.7 kB / 0.5494 GB, free: 98.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00922/0.7306, allocations: 6.992 MB / 0.5563 GB, free: 92.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.7322, allocations: 2.124 MB / 0.5584 GB, free: 90.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001542/0.7338, allocations: 0.5317 MB / 0.5589 GB, free: 90.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.7342, allocations: 151 kB / 0.559 GB, free: 90.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7342, allocations: 0 / 0.559 GB, free: 90.32 MB / 446.1 MB Notification: Performance of Templates: time 0.04658/0.7807, allocations: 33.91 MB / 0.5921 GB, free: 57.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.517560064792633]