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.001526/0.001526, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001794/0.001794, allocations: 188 kB / 24.48 MB, free: 4.164 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.427/1.427, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001776/0.001776, allocations: 47.92 kB / 371.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2893, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02138/0.3106, allocations: 16.8 MB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3231, allocations: 5.444 MB / 446.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/0.3269, allocations: 123.2 kB / 446.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.3311, allocations: 1.286 MB / 447.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006573/0.3377, allocations: 1.685 MB / 449.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.341, allocations: 1.059 MB / 450.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008229/0.3492, allocations: 5.123 MB / 455.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004069/0.3533, allocations: 2.309 MB / 457.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.3571, allocations: 2.243 MB / 460 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.3622, allocations: 2.639 MB / 462.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.3641, allocations: 0.6133 MB / 463.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.3671, allocations: 0.8357 MB / 464.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.3694, allocations: 1.437 MB / 465.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005098/0.3745, allocations: 2.637 MB / 468.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.3875, allocations: 8.114 MB / 476.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3875, allocations: 4 kB / 476.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3875, allocations: 0 / 476.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002942/0.3878, allocations: 0 / 476.3 MB, free: 10.06 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.01657/0.4044, allocations: 5.422 MB / 481.7 MB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4044, allocations: 12.03 kB / 481.7 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005674/0.4101, allocations: 1.009 MB / 482.7 MB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/0.4174, allocations: 2.898 MB / 485.6 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.4177, allocations: 308.2 kB / 485.9 MB, free: 304 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.4189, allocations: 407.9 kB / 486.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.4305, allocations: 5.213 MB / 491.5 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-05/0.4305, allocations: 0 / 491.5 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.431, allocations: 164 kB / 491.7 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/0.4312, allocations: 180 kB / 491.8 MB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009806/0.441, allocations: 4.455 MB / 496.3 MB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.4736, allocations: 16.33 MB / 0.5006 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.4805, allocations: 3.185 MB / 0.5037 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/0.4841, allocations: 1.563 MB / 0.5053 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.4947, allocations: 4.319 MB / 0.5095 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.4948, allocations: 51.88 kB / 0.5095 GB, free: 12.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.406e-06/0.4948, allocations: 0 / 0.5095 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.0129/0.5077, allocations: 5.725 MB / 0.5151 GB, free: 6.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.5077, allocations: 72.7 kB / 0.5152 GB, free: 6.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/0.5119, allocations: 2.286 MB / 0.5174 GB, free: 3.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.5122, allocations: 57.64 kB / 0.5175 GB, free: 3.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.5138, allocations: 1.889 MB / 0.5193 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/0.5145, allocations: 0.5849 MB / 0.5199 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006238/0.5151, allocations: 399.9 kB / 0.5203 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5153, allocations: 305.1 kB / 0.5206 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.5168, allocations: 0.8397 MB / 0.5214 GB, free: 15.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.519, allocations: 1.563 MB / 0.5229 GB, free: 13.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/0.5229, allocations: 2.554 MB / 0.5254 GB, free: 11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.5229, allocations: 8 kB / 0.5254 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005447/0.5284, allocations: 2.822 MB / 0.5282 GB, free: 8.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.5284, allocations: 19.94 kB / 0.5282 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-05/0.5284, allocations: 24 kB / 0.5282 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.5288, allocations: 122.2 kB / 0.5283 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.5309, allocations: 0.5382 MB / 0.5288 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.5329, allocations: 1.89 MB / 0.5307 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.5348, allocations: 111.9 kB / 0.5308 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.535, allocations: 92.12 kB / 0.5309 GB, free: 5.25 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.002586/0.5376, allocations: 1.2 MB / 0.5321 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/0.5382, allocations: 258.3 kB / 0.5323 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.5429, allocations: 2.278 MB / 0.5345 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5429, allocations: 12 kB / 0.5345 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.5429, allocations: 11.98 kB / 0.5346 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.5429, allocations: 3.984 kB / 0.5346 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2329/0.7758, allocations: 5.59 MB / 0.54 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.7758, allocations: 2.75 kB / 0.54 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.777, allocations: 290 kB / 0.5403 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007381/0.7778, allocations: 319.4 kB / 0.5406 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.7779, allocations: 35.64 kB / 0.5406 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/0.7829, allocations: 6.655 MB / 0.5471 GB, free: 97.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7829, allocations: 3.969 kB / 0.5471 GB, free: 97.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.788, allocations: 3.407 MB / 0.5505 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.7894, allocations: 443.1 kB / 0.5509 GB, free: 95.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005728/0.79, allocations: 38.94 kB / 0.5509 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7913, allocations: 85.81 kB / 0.551 GB, free: 95.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.7916, allocations: 125.2 kB / 0.5511 GB, free: 95.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/0.7917, allocations: 46.34 kB / 0.5512 GB, free: 95.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.7938, allocations: 1.544 MB / 0.5527 GB, free: 95.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7938, allocations: 0 / 0.5527 GB, free: 95.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002499/0.7963, allocations: 0.6681 MB / 0.5533 GB, free: 95.24 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.0004222/0.7967, allocations: 170.6 kB / 0.5535 GB, free: 95.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.7998, allocations: 2.117 MB / 0.5556 GB, free: 94.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7999, allocations: 0 / 0.5556 GB, free: 94.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.8017, allocations: 1.372 MB / 0.5569 GB, free: 93.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.8045, allocations: 0.6033 MB / 0.5575 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.8156, allocations: 6.992 MB / 0.5643 GB, free: 87.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.8174, allocations: 2.603 MB / 0.5669 GB, free: 84.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.8182, allocations: 183.4 kB / 0.567 GB, free: 84.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.8182, allocations: 0 / 0.567 GB, free: 84.69 MB / 446.1 MB Notification: Performance of Templates: time 0.0899/0.9081, allocations: 95.96 MB / 0.6607 GB, free: 4.863 MB / 462.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/jenkins1/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/jenkins1/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: 14.196725959191099]