Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.0008152/0.0008152, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008125/0.0008125, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8386/0.8386, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 4 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.065e-05/4.388e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01325/0.01329, allocations: 14.46 MB / 314.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.02471, allocations: 5.169 MB / 319.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.02897, allocations: 115.2 kB / 319.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004605/0.03358, allocations: 1.246 MB / 320.7 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006985/0.04056, allocations: 1.645 MB / 322.4 MB, free: 160 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.04412, allocations: 1.06 MB / 323.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008157/0.05228, allocations: 5.299 MB / 328.7 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003546/0.05582, allocations: 2.128 MB / 330.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005592/0.06141, allocations: 3.306 MB / 334.1 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.0651, allocations: 2.186 MB / 336.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.06648, allocations: 0.6133 MB / 336.9 MB, free: 1.445 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.06852, allocations: 0.8238 MB / 337.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.06958, allocations: 1.46 MB / 339.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002953/0.07254, allocations: 1.789 MB / 341 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00855/0.08109, allocations: 8.168 MB / 349.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.08109, allocations: 0 / 349.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.08109, allocations: 0 / 349.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002665/0.08136, allocations: 0 / 349.2 MB, free: 5.168 MB / 330.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.1598/0.2411, allocations: 5.359 MB / 354.5 MB, free: 56.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2412, allocations: 13.11 kB / 354.6 MB, free: 56.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.2447, allocations: 1.014 MB / 355.6 MB, free: 56.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.2494, allocations: 2.74 MB / 358.3 MB, free: 55.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.2496, allocations: 302.8 kB / 358.6 MB, free: 54.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000827/0.2504, allocations: 399.4 kB / 359 MB, free: 54.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007988/0.2584, allocations: 5.362 MB / 364.4 MB, free: 52.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.298e-05/0.2584, allocations: 4.406 kB / 364.4 MB, free: 52.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.2587, allocations: 164.4 kB / 364.5 MB, free: 52.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.2588, allocations: 175.1 kB / 364.7 MB, free: 52.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006535/0.2654, allocations: 4.436 MB / 369.1 MB, free: 50.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.2817, allocations: 14.34 MB / 383.5 MB, free: 36.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.2846, allocations: 3.185 MB / 386.7 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.286, allocations: 1.56 MB / 388.2 MB, free: 31.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004651/0.2907, allocations: 3.851 MB / 392.1 MB, free: 28.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2907, allocations: 55.86 kB / 392.1 MB, free: 27.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=156): time 3.516e-06/0.2907, allocations: 0 / 392.1 MB, free: 27.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.007029/0.2978, allocations: 5.675 MB / 397.8 MB, free: 22.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2978, allocations: 72.66 kB / 397.9 MB, free: 22.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.2996, allocations: 2.096 MB / 400 MB, free: 20.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.2997, allocations: 53.64 kB / 400 MB, free: 20.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.3002, allocations: 1.915 MB / 401.9 MB, free: 18.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.3004, allocations: 0.5681 MB / 402.5 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.3007, allocations: 387.9 kB / 402.9 MB, free: 17.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.711e-05/0.3007, allocations: 309 kB / 403.2 MB, free: 16.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/0.3015, allocations: 0.8397 MB / 404 MB, free: 16.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/0.3024, allocations: 1.585 MB / 405.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.3042, allocations: 2.555 MB / 408.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.3042, allocations: 8 kB / 408.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002788/0.307, allocations: 2.798 MB / 411 MB, free: 8.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.307, allocations: 12 kB / 411 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.307, allocations: 24 kB / 411 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.3072, allocations: 125.7 kB / 411.1 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/0.3082, allocations: 0.5421 MB / 411.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008925/0.3091, allocations: 1.844 MB / 413.5 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3103, allocations: 116 kB / 413.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/0.3104, allocations: 92 kB / 413.7 MB, free: 5.559 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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.001616/0.312, allocations: 1.2 MB / 414.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.3123, allocations: 238.5 kB / 415.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.3146, allocations: 2.257 MB / 417.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3146, allocations: 15.94 kB / 417.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3146, allocations: 12 kB / 417.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3146, allocations: 7.969 kB / 417.4 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005716/0.3203, allocations: 4.741 MB / 422.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3203, allocations: 7.984 kB / 422.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.321, allocations: 283.9 kB / 422.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.3215, allocations: 338.8 kB / 422.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.3216, allocations: 35.98 kB / 422.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/0.326, allocations: 6.492 MB / 429.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.326, allocations: 4 kB / 429.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.33, allocations: 3.362 MB / 432.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.331, allocations: 422.3 kB / 433.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3312, allocations: 35.94 kB / 433.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.3318, allocations: 79.92 kB / 433.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.332, allocations: 125 kB / 433.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.3321, allocations: 47.98 kB / 433.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001523/0.3336, allocations: 1.379 MB / 434.8 MB, free: 56 kB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3336, allocations: 4 kB / 434.8 MB, free: 52 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001766/0.3354, allocations: 0.664 MB / 435.4 MB, free: 15.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0003261/0.3357, allocations: 170.8 kB / 435.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.3385, allocations: 2.107 MB / 437.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.3385, allocations: 6 kB / 437.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.34, allocations: 1.367 MB / 439.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.3419, allocations: 0.5045 MB / 439.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009348/0.3512, allocations: 6.77 MB / 446.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.353, allocations: 2.059 MB / 448.4 MB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/0.3537, allocations: 176.5 kB / 448.6 MB, free: 2.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.3537, allocations: 0 / 448.6 MB, free: 2.09 MB / 362.7 MB Notification: Performance of Templates: time 0.2173/0.5711, allocations: 95.58 MB / 0.5314 GB, free: 126.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: 9.003102507442236]