Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 161.7 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.988e-05, allocations: 6.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02134/0.02137, allocations: 15.06 MB / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1269/0.1483, allocations: 5.403 MB / 292.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.1511, allocations: 132.1 kB / 292.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.1548, allocations: 1.263 MB / 294.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.16, allocations: 1.684 MB / 295.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.163, allocations: 1.077 MB / 297 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006748/0.1697, allocations: 5.406 MB / 302.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.1729, allocations: 2.23 MB / 304.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.1781, allocations: 3.327 MB / 307.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.182, allocations: 2.197 MB / 310.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.1833, allocations: 0.6139 MB / 310.7 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.1858, allocations: 0.8478 MB / 311.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.1869, allocations: 1.465 MB / 313 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.19, allocations: 1.791 MB / 314.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008425/0.1984, allocations: 8.233 MB / 323.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1984, allocations: 0 / 323.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1984, allocations: 3.469 kB / 323.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002197/0.1987, allocations: 0 / 323.1 MB, free: 13.45 MB / 282.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.01507/0.2137, allocations: 5.4 MB / 328.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2138, allocations: 16.03 kB / 328.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006335/0.2201, allocations: 1.513 MB / 330 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007102/0.2272, allocations: 3.082 MB / 333.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.2275, allocations: 302.6 kB / 333.4 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/0.2283, allocations: 404.5 kB / 333.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.2392, allocations: 5.373 MB / 339.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.173e-05/0.2393, allocations: 3.938 kB / 339.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004279/0.2397, allocations: 165.6 kB / 339.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.2399, allocations: 176 kB / 339.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009282/0.2492, allocations: 4.455 MB / 343.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.2773, allocations: 14.65 MB / 358.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006505/0.2838, allocations: 3.243 MB / 361.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00451/0.2883, allocations: 1.999 MB / 363.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009692/0.298, allocations: 4.184 MB / 368 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.2981, allocations: 51.81 kB / 368.1 MB, free: 292 kB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 6.823e-06/0.2981, allocations: 4 kB / 368.1 MB, free: 288 kB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.01431/0.3124, allocations: 5.946 MB / 374 MB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.3125, allocations: 68.72 kB / 374.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.3161, allocations: 2.106 MB / 376.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3162, allocations: 53.7 kB / 376.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.3181, allocations: 1.915 MB / 378.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006376/0.3187, allocations: 0.5836 MB / 378.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007209/0.3194, allocations: 395.9 kB / 379.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.3197, allocations: 301.1 kB / 379.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.3214, allocations: 0.8553 MB / 380.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.3239, allocations: 1.596 MB / 381.9 MB, free: 2.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/0.3283, allocations: 2.589 MB / 384.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.3284, allocations: 8 kB / 384.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.006248/0.3346, allocations: 2.982 MB / 387.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.3346, allocations: 16 kB / 387.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/0.3347, allocations: 27.94 kB / 387.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.3352, allocations: 186 kB / 387.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.3375, allocations: 0.5304 MB / 388.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.3405, allocations: 2.291 MB / 390.5 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.3423, allocations: 112 kB / 390.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.3425, allocations: 96 kB / 390.7 MB, free: 8.77 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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002316/0.3449, allocations: 1.2 MB / 391.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.3455, allocations: 290.5 kB / 392.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.3509, allocations: 2.348 MB / 394.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.351, allocations: 19.94 kB / 394.6 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.351, allocations: 15.94 kB / 394.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.351, allocations: 7.969 kB / 394.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.3627, allocations: 4.887 MB / 399.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.3628, allocations: 4 kB / 399.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.3642, allocations: 279.6 kB / 399.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.3655, allocations: 392.8 kB / 400.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.3657, allocations: 43.98 kB / 400.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009297/0.375, allocations: 6.964 MB / 407.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.375, allocations: 4.031 kB / 407.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007392/0.3824, allocations: 3.539 MB / 410.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.3837, allocations: 422.3 kB / 411.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/0.3842, allocations: 32 kB / 411.1 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.3855, allocations: 83.92 kB / 411.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.3859, allocations: 121.1 kB / 411.3 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.386, allocations: 55.92 kB / 411.4 MB, free: 3.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00281/0.3888, allocations: 1.396 MB / 412.8 MB, free: 2.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3888, allocations: 0 / 412.8 MB, free: 2.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002629/0.3915, allocations: 0.6679 MB / 413.4 MB, free: 1.586 MB / 362.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 (129): * Single equations (assignments): 126 * 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,8,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.0004544/0.3919, allocations: 195.8 kB / 413.6 MB, free: 1.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004752/0.3967, allocations: 2.161 MB / 415.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3967, allocations: 0 / 415.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/0.3995, allocations: 1.414 MB / 417.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/0.4024, allocations: 0.5218 MB / 417.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.4179, allocations: 6.948 MB / 424.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004024/0.4219, allocations: 2.15 MB / 426.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002256/0.4241, allocations: 0.5185 MB / 427.3 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/0.4249, allocations: 160.5 kB / 427.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4249, allocations: 4 kB / 427.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of Templates: time 0.1651/0.5899, allocations: 29.92 MB / 457.4 MB, free: 106.7 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.141307657933794]