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.000909/0.000909, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.00108/0.00108, allocations: 170.2 kB / 25.69 MB, free: 8.453 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.94/0.94, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.[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_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.[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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.984 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.199e-05, allocations: 6.25 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01388/0.01391, allocations: 15.88 MB / 267.5 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.02845, allocations: 5.556 MB / 273 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.03228, allocations: 115.2 kB / 273.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00455/0.03683, allocations: 1.294 MB / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006354/0.04319, allocations: 1.638 MB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.0469, allocations: 1.06 MB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008304/0.0552, allocations: 5.334 MB / 282.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.0592, allocations: 2.199 MB / 284.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007182/0.06639, allocations: 3.657 MB / 288.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005229/0.07161, allocations: 2.506 MB / 290.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.07346, allocations: 0.6093 MB / 291.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.07655, allocations: 0.8239 MB / 292.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.07832, allocations: 1.457 MB / 293.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004068/0.08239, allocations: 1.789 MB / 295.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.09338, allocations: 4.221 MB / 299.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.09339, allocations: 0 / 299.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09339, allocations: 4 kB / 299.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.09355, allocations: 0 / 299.7 MB, free: 6.773 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.01086/0.1044, allocations: 5.17 MB / 304.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1045, allocations: 11.98 kB / 304.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.1096, allocations: 1.3 MB / 306.2 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.1149, allocations: 1.711 MB / 307.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.1151, allocations: 300.5 kB / 308.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009659/0.1161, allocations: 404.3 kB / 308.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004185/0.1203, allocations: 3 MB / 311.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.755e-05/0.1204, allocations: 4 kB / 311.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.1206, allocations: 160 kB / 311.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.1207, allocations: 176 kB / 312 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.1227, allocations: 1.19 MB / 313.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.1367, allocations: 10.61 MB / 323.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.139, allocations: 1.959 MB / 325.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008867/0.1399, allocations: 0.718 MB / 326.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003965/0.1439, allocations: 2.314 MB / 328.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1439, allocations: 47.88 kB / 328.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 3.897e-06/0.1439, allocations: 0 / 328.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.004602/0.1485, allocations: 2.614 MB / 331.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1486, allocations: 68.72 kB / 331.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.15, allocations: 1.513 MB / 333 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.1501, allocations: 49.7 kB / 333 MB, free: 4.594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007105/0.1508, allocations: 1.621 MB / 334.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.1511, allocations: 0.5693 MB / 335.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.1515, allocations: 387.6 kB / 335.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.1516, allocations: 313.1 kB / 335.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.152, allocations: 231.3 kB / 336.1 MB, free: 1.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.1526, allocations: 0.9483 MB / 337.1 MB, free: 172 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.1537, allocations: 1.397 MB / 338.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.1537, allocations: 8 kB / 338.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00168/0.1554, allocations: 1.318 MB / 339.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.1554, allocations: 12 kB / 339.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.1554, allocations: 24 kB / 339.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.1557, allocations: 89.61 kB / 339.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.157, allocations: 0.5813 MB / 340.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.158, allocations: 1.51 MB / 342 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.159, allocations: 99.89 kB / 342.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.1591, allocations: 79.98 kB / 342.2 MB, free: 10.62 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.0008357/0.16, allocations: 247.9 kB / 342.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.1602, allocations: 187.8 kB / 342.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.1615, allocations: 1.046 MB / 343.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.1616, allocations: 16 kB / 343.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1616, allocations: 4 kB / 343.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.1616, allocations: 7.969 kB / 343.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.1654, allocations: 3.023 MB / 346.7 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1654, allocations: 4 kB / 346.7 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.1662, allocations: 358.1 kB / 347.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.1666, allocations: 241.5 kB / 347.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.1667, allocations: 31.98 kB / 347.3 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.1697, allocations: 5.086 MB / 352.4 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1697, allocations: 0 / 352.4 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1146/0.2842, allocations: 1.405 MB / 353.8 MB, free: 76.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.2848, allocations: 241.1 kB / 354.1 MB, free: 76.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.285, allocations: 35.19 kB / 354.1 MB, free: 76.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.2855, allocations: 64.72 kB / 354.2 MB, free: 76.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.2857, allocations: 118.2 kB / 354.3 MB, free: 76.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.2857, allocations: 33.92 kB / 354.3 MB, free: 76.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006995/0.2864, allocations: 0.7509 MB / 355.1 MB, free: 76.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2864, allocations: 0 / 355.1 MB, free: 76.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001419/0.2879, allocations: 0.661 MB / 355.7 MB, free: 76.54 MB / 330.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.0002627/0.2881, allocations: 149.5 kB / 355.9 MB, free: 76.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.2895, allocations: 1.044 MB / 356.9 MB, free: 76.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.895e-05/0.2895, allocations: 27.69 kB / 356.9 MB, free: 76.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.2902, allocations: 0.8897 MB / 357.8 MB, free: 75.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.2914, allocations: 0.5128 MB / 358.3 MB, free: 75.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.2991, allocations: 5.881 MB / 364.2 MB, free: 73.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.2998, allocations: 0.767 MB / 365 MB, free: 73.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.3008, allocations: 320.1 kB / 365.3 MB, free: 73.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008768/0.3017, allocations: 0.5278 MB / 365.8 MB, free: 73.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3017, allocations: 0 / 365.8 MB, free: 73.18 MB / 330.7 MB Notification: Performance of Templates: time 0.03949/0.3412, allocations: 31.09 MB / 396.9 MB, free: 48.04 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] 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","",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.8936686483211815]