Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009209/0.0009209, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9385/0.9385, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 4 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.216e-05, allocations: 5.125 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01279/0.01281, allocations: 16.47 MB / 289.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1207/0.1335, allocations: 5.57 MB / 295.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.1363, allocations: 131.6 kB / 295.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.1396, allocations: 1.267 MB / 296.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.1444, allocations: 1.685 MB / 298.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.1466, allocations: 1.078 MB / 299.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005924/0.1525, allocations: 5.427 MB / 305 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.156, allocations: 2.23 MB / 307.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/0.1615, allocations: 3.727 MB / 310.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003087/0.1646, allocations: 2.504 MB / 313.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.1656, allocations: 0.6081 MB / 314 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1671, allocations: 0.836 MB / 314.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.1678, allocations: 1.468 MB / 316.3 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.1696, allocations: 1.795 MB / 318.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.1735, allocations: 4.257 MB / 322.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1735, allocations: 0 / 322.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1735, allocations: 0 / 322.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.1736, allocations: 0 / 322.4 MB, free: 15.27 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.007702/0.1813, allocations: 5.511 MB / 327.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1814, allocations: 11.98 kB / 327.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.1844, allocations: 1.394 MB / 329.3 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.1888, allocations: 2.73 MB / 332 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.189, allocations: 300.5 kB / 332.3 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005016/0.1895, allocations: 399.5 kB / 332.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.1934, allocations: 2.948 MB / 335.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.64e-05/0.1935, allocations: 14.86 kB / 335.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.1937, allocations: 162.5 kB / 335.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.1938, allocations: 168 kB / 336 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.1958, allocations: 1.201 MB / 337.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.2108, allocations: 13.41 MB / 350.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.2133, allocations: 2.259 MB / 352.9 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.2148, allocations: 1.232 MB / 354.1 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004543/0.2193, allocations: 3.135 MB / 357.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2194, allocations: 58.62 kB / 357.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 3.857e-06/0.2194, allocations: 0 / 357.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.005333/0.2247, allocations: 3.015 MB / 360.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2247, allocations: 68.72 kB / 360.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.2265, allocations: 1.818 MB / 362.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.2266, allocations: 53.7 kB / 362.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.2276, allocations: 2.043 MB / 364.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.228, allocations: 0.5881 MB / 364.9 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004112/0.2284, allocations: 428.8 kB / 365.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2285, allocations: 476.8 kB / 365.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2288, allocations: 232.1 kB / 366 MB, free: 4.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.2296, allocations: 1.289 MB / 367.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.231, allocations: 1.718 MB / 369 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.231, allocations: 8 kB / 369 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002173/0.2332, allocations: 1.703 MB / 370.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.2332, allocations: 19.12 kB / 370.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.2332, allocations: 24 kB / 370.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.2335, allocations: 131.7 kB / 370.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2345, allocations: 0.5108 MB / 371.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.2359, allocations: 2.359 MB / 373.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.2369, allocations: 87.94 kB / 373.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.237, allocations: 83.98 kB / 373.9 MB, free: 11.77 MB / 330.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.0008156/0.2378, allocations: 291.8 kB / 374.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.2381, allocations: 290.5 kB / 374.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.2398, allocations: 1.29 MB / 375.8 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.2398, allocations: 16 kB / 375.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.2398, allocations: 7.938 kB / 375.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2398, allocations: 7.969 kB / 375.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/0.2442, allocations: 3.262 MB / 379.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2442, allocations: 4 kB / 379.1 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.2448, allocations: 263.7 kB / 379.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.2454, allocations: 279.9 kB / 379.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.2455, allocations: 39.98 kB / 379.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/0.2497, allocations: 7.252 MB / 386.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2497, allocations: 3.938 kB / 386.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.2522, allocations: 1.742 MB / 388.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000743/0.2529, allocations: 370.3 kB / 389 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.2531, allocations: 47.86 kB / 389.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.2536, allocations: 67.91 kB / 389.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.2538, allocations: 121.1 kB / 389.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.2539, allocations: 31.98 kB / 389.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009303/0.2548, allocations: 0.9389 MB / 390.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2548, allocations: 0 / 390.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001769/0.2566, allocations: 0.6757 MB / 390.9 MB, free: 10.26 MB / 346.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.0002944/0.2569, allocations: 178.9 kB / 391.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.2585, allocations: 1.225 MB / 392.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2585, allocations: 0 / 392.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.2595, allocations: 1.148 MB / 393.4 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.261, allocations: 0.5219 MB / 394 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.2688, allocations: 6.091 MB / 400 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.2696, allocations: 0.9461 MB / 401 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.2706, allocations: 319.2 kB / 401.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000932/0.2715, allocations: 0.5916 MB / 401.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.903e-06/0.2715, allocations: 0 / 401.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Templates: time 0.1511/0.4226, allocations: 31.83 MB / 433.7 MB, free: 108.3 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9158239271491766]