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.001344/0.001344, allocations: 88.61 kB / 20.95 MB, free: 480 kB / 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.001371/0.001371, allocations: 153.8 kB / 24.25 MB, free: 3.547 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.435/1.435, allocations: 173.3 MB / 200.8 MB, free: 12.78 MB / 190.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 1.562e-06/1.562e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.507e-05, allocations: 2.312 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01924/0.01926, allocations: 14.54 MB / 281.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.03176, allocations: 5.156 MB / 287 MB, free: 6.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.03494, allocations: 123.2 kB / 287.1 MB, free: 6.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004708/0.03965, allocations: 1.25 MB / 288.4 MB, free: 5.062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007361/0.04701, allocations: 1.7 MB / 290.1 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.05091, allocations: 1.017 MB / 291.1 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008138/0.05905, allocations: 5.293 MB / 296.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/0.06334, allocations: 2.223 MB / 298.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.06904, allocations: 3.322 MB / 301.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.07317, allocations: 2.19 MB / 304.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.07432, allocations: 0.6133 MB / 304.7 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.07623, allocations: 0.8276 MB / 305.6 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.07767, allocations: 1.464 MB / 307 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.08021, allocations: 1.785 MB / 308.8 MB, free: 500 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1333/0.2135, allocations: 8.183 MB / 317 MB, free: 23.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.2135, allocations: 0 / 317 MB, free: 23.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2135, allocations: 0 / 317 MB, free: 23.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002913/0.2138, allocations: 0 / 317 MB, free: 23.94 MB / 286.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.01596/0.2297, allocations: 5.369 MB / 322.4 MB, free: 22.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2298, allocations: 10.27 kB / 322.4 MB, free: 22.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/0.2362, allocations: 1.508 MB / 323.9 MB, free: 21.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.2423, allocations: 3.034 MB / 326.9 MB, free: 20.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.2425, allocations: 303.8 kB / 327.2 MB, free: 20.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008791/0.2434, allocations: 402 kB / 327.6 MB, free: 20.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008683/0.252, allocations: 5.368 MB / 333 MB, free: 17.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-05/0.2521, allocations: 5.562 kB / 333 MB, free: 17.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.2525, allocations: 168 kB / 333.2 MB, free: 17.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.2527, allocations: 172 kB / 333.3 MB, free: 17.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/0.2602, allocations: 4.453 MB / 337.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02533/0.2855, allocations: 14.61 MB / 352.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/0.291, allocations: 3.211 MB / 355.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.294, allocations: 1.561 MB / 357.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008652/0.3027, allocations: 3.908 MB / 361.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.3027, allocations: 51.53 kB / 361.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=157): time 4.137e-06/0.3027, allocations: 0 / 361.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=160): time 0.01309/0.3158, allocations: 5.759 MB / 366.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3159, allocations: 68.72 kB / 366.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.3194, allocations: 2.088 MB / 369 MB, free: 1.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.3195, allocations: 57.7 kB / 369.1 MB, free: 1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.3211, allocations: 1.91 MB / 371 MB, free: 15.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/0.3217, allocations: 0.5586 MB / 371.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006849/0.3224, allocations: 403.8 kB / 371.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3225, allocations: 301.1 kB / 372.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.3242, allocations: 0.8436 MB / 373.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.3265, allocations: 1.59 MB / 374.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.3306, allocations: 2.549 MB / 377.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.3306, allocations: 8 kB / 377.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00594/0.3366, allocations: 2.897 MB / 380.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.3366, allocations: 18.41 kB / 380.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/0.3366, allocations: 24.53 kB / 380.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/0.3371, allocations: 129.7 kB / 380.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.3393, allocations: 0.5348 MB / 380.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.3414, allocations: 1.856 MB / 382.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.3436, allocations: 108 kB / 382.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/0.3439, allocations: 104 kB / 382.9 MB, free: 2.715 MB / 318.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.002494/0.3464, allocations: 1.192 MB / 384.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.347, allocations: 286.5 kB / 384.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.3519, allocations: 2.274 MB / 386.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.3519, allocations: 16 kB / 386.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3519, allocations: 4 kB / 386.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.3519, allocations: 15.95 kB / 386.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009652/0.3616, allocations: 4.762 MB / 391.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3616, allocations: 10.23 kB / 391.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.363, allocations: 287.8 kB / 391.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.364, allocations: 345.6 kB / 392.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.3641, allocations: 35.98 kB / 392.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007595/0.3717, allocations: 6.547 MB / 398.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3717, allocations: 4.031 kB / 398.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006368/0.3781, allocations: 3.428 MB / 402.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.3792, allocations: 422.3 kB / 402.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.3795, allocations: 32 kB / 402.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.3806, allocations: 87.88 kB / 402.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.3809, allocations: 120.5 kB / 402.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.381, allocations: 43.98 kB / 402.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00228/0.3833, allocations: 1.383 MB / 404.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3833, allocations: 4 kB / 404.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002396/0.3857, allocations: 0.6601 MB / 404.8 MB, free: 12.5 MB / 350.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.0003605/0.386, allocations: 175.7 kB / 405 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.3899, allocations: 2.115 MB / 407.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3899, allocations: 0 / 407.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.3923, allocations: 1.371 MB / 408.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.3947, allocations: 0.5092 MB / 409 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.4092, allocations: 6.923 MB / 415.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/0.4122, allocations: 2.129 MB / 418 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002147/0.4143, allocations: 0.53 MB / 418.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/0.4149, allocations: 156.5 kB / 418.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4149, allocations: 0 / 418.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.05849/0.4734, allocations: 29.18 MB / 447.9 MB, free: 1.902 MB / 382.1 MB " [Timeout remaining time 660] 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.025975175201893]