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.0019/0.0019, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.0019/0.0019, allocations: 149.1 kB / 24.26 MB, free: 176 kB / 18.57 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.513/1.513, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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 1.683e-06/1.683e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.058e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02317/0.0232, allocations: 16.32 MB / 283.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.03876, allocations: 5.328 MB / 289 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004696/0.04345, allocations: 127.2 kB / 289.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1316/0.175, allocations: 1.236 MB / 290.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00562/0.1806, allocations: 1.704 MB / 292.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1831, allocations: 1.036 MB / 293.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.1894, allocations: 5.295 MB / 298.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.1927, allocations: 2.228 MB / 300.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005747/0.1984, allocations: 3.35 MB / 304 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.2023, allocations: 2.399 MB / 306.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008941/0.2032, allocations: 0.6128 MB / 307 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.2049, allocations: 0.8246 MB / 307.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008722/0.2058, allocations: 1.489 MB / 309.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.2077, allocations: 1.812 MB / 311.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.2136, allocations: 8.228 MB / 319.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2136, allocations: 0 / 319.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2136, allocations: 0 / 319.3 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.2137, allocations: 0 / 319.3 MB, free: 2.465 MB / 266.7 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.01474/0.2285, allocations: 6.114 MB / 325.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2285, allocations: 12.92 kB / 325.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006074/0.2346, allocations: 1.506 MB / 327 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009503/0.2441, allocations: 2.878 MB / 329.8 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/0.2446, allocations: 296.5 kB / 330.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.2463, allocations: 406.8 kB / 330.5 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.2657, allocations: 5.423 MB / 335.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.2659, allocations: 0 / 335.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.2671, allocations: 167.9 kB / 336.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005472/0.2677, allocations: 179.9 kB / 336.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.2822, allocations: 3.904 MB / 340.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.3318, allocations: 25.31 MB / 365.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006399/0.3382, allocations: 2.992 MB / 368.5 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.3412, allocations: 1.401 MB / 369.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009515/0.3508, allocations: 3.973 MB / 373.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.3508, allocations: 58.69 kB / 373.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=157): time 3.406e-06/0.3508, allocations: 0 / 373.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=160): time 0.01236/0.3632, allocations: 4.971 MB / 378.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.3633, allocations: 68.72 kB / 379 MB, free: 5.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004855/0.3681, allocations: 2.621 MB / 381.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.3684, allocations: 53.64 kB / 381.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.3705, allocations: 2.137 MB / 383.8 MB, free: 1.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/0.3715, allocations: 0.6335 MB / 384.4 MB, free: 428 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009533/0.3724, allocations: 0.5127 MB / 384.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002574/0.3727, allocations: 476.8 kB / 385.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3742, allocations: 0.6562 MB / 386 MB, free: 14.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.377, allocations: 1.791 MB / 387.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/0.3815, allocations: 2.667 MB / 390.5 MB, free: 9.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/0.3816, allocations: 8 kB / 390.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005691/0.3873, allocations: 2.551 MB / 393.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.3873, allocations: 12 kB / 393.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/0.3874, allocations: 24 kB / 393.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/0.388, allocations: 131.9 kB / 393.2 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.3902, allocations: 0.5217 MB / 393.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.3928, allocations: 2.404 MB / 396.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.3948, allocations: 107.9 kB / 396.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.3951, allocations: 99.98 kB / 396.3 MB, free: 3.73 MB / 346.7 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.002426/0.3975, allocations: 1.077 MB / 397.4 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/0.3982, allocations: 282.5 kB / 397.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.4028, allocations: 1.945 MB / 399.6 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.4028, allocations: 16 kB / 399.7 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4028, allocations: 4 kB / 399.7 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.4028, allocations: 11.44 kB / 399.7 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.4161, allocations: 5.695 MB / 405.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.4161, allocations: 8.047 kB / 405.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.4175, allocations: 283 kB / 405.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.4187, allocations: 346.5 kB / 406 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/0.4189, allocations: 39.98 kB / 406 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009639/0.4285, allocations: 8.253 MB / 414.3 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4285, allocations: 4 kB / 414.3 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.435, allocations: 2.929 MB / 417.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.4364, allocations: 402.2 kB / 417.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.4368, allocations: 40 kB / 417.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.4379, allocations: 71.94 kB / 417.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.4382, allocations: 120.6 kB / 417.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.4384, allocations: 47.98 kB / 417.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002646/0.441, allocations: 1.481 MB / 419.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.441, allocations: 0 / 419.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002653/0.4437, allocations: 0.6718 MB / 420 MB, free: 11.65 MB / 378.7 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.0004385/0.4441, allocations: 176.8 kB / 420.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004257/0.4484, allocations: 2.032 MB / 422.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4484, allocations: 0 / 422.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002886/0.4512, allocations: 1.481 MB / 423.7 MB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.454, allocations: 0.5136 MB / 424.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.4688, allocations: 6.583 MB / 430.8 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1331/0.6019, allocations: 1.986 MB / 432.8 MB, free: 117.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001996/0.6039, allocations: 468.5 kB / 433.3 MB, free: 117.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.6044, allocations: 157.6 kB / 433.4 MB, free: 117.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.745e-06/0.6045, allocations: 0 / 433.4 MB, free: 117.1 MB / 378.7 MB Notification: Performance of Templates: time 0.05051/0.655, allocations: 29.18 MB / 462.6 MB, free: 104.6 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] 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.417176746064797]