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.00115/0.00115, allocations: 85.95 kB / 23 MB, free: 1.504 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.001412/0.001412, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9059/0.9059, allocations: 158.6 MB / 188.3 MB, free: 2.801 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 1.393e-06/1.393e-06, allocations: 3.938 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.124e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01369/0.01371, allocations: 15.8 MB / 268.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.02224, allocations: 5.352 MB / 273.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.02396, allocations: 115.2 kB / 273.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.02657, allocations: 1.243 MB / 274.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.03055, allocations: 1.642 MB / 276.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.03214, allocations: 1.067 MB / 277.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004118/0.03626, allocations: 5.314 MB / 282.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.03834, allocations: 2.132 MB / 284.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.04154, allocations: 3.645 MB / 288.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.04367, allocations: 2.498 MB / 291.1 MB, free: 196 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005655/0.04424, allocations: 0.6016 MB / 291.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009282/0.04517, allocations: 0.8198 MB / 292.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007914/0.04596, allocations: 1.472 MB / 294 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.04731, allocations: 1.785 MB / 295.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.0506, allocations: 4.213 MB / 300 MB, free: 7.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.05061, allocations: 0 / 300 MB, free: 7.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05061, allocations: 3.938 kB / 300 MB, free: 7.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.05066, allocations: 0 / 300 MB, free: 7.273 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.006336/0.057, allocations: 5.462 MB / 305.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.05703, allocations: 19.98 kB / 305.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.06034, allocations: 1.376 MB / 306.8 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.06307, allocations: 2.483 MB / 309.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.06323, allocations: 304.5 kB / 309.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/0.06361, allocations: 404.3 kB / 310 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.06685, allocations: 2.932 MB / 312.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.716e-05/0.0669, allocations: 4 kB / 313 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000508/0.06741, allocations: 164 kB / 313.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.06752, allocations: 176 kB / 313.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.06922, allocations: 1.195 MB / 314.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.0821, allocations: 13.37 MB / 327.9 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.08435, allocations: 2.214 MB / 330.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/0.08527, allocations: 0.7871 MB / 330.9 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003446/0.08872, allocations: 2.923 MB / 333.8 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.08875, allocations: 50.7 kB / 333.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 2.505e-06/0.08875, allocations: 0 / 333.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.004549/0.0933, allocations: 2.875 MB / 336.7 MB, free: 1.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.09333, allocations: 68.72 kB / 336.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.09472, allocations: 1.796 MB / 338.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.09479, allocations: 49.7 kB / 338.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000985/0.09577, allocations: 2.033 MB / 340.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.0961, allocations: 0.5889 MB / 341.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.09651, allocations: 425.6 kB / 341.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003733/0.09688, allocations: 480.7 kB / 342.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.09719, allocations: 224.1 kB / 342.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.09799, allocations: 1.297 MB / 343.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.09923, allocations: 1.69 MB / 345.3 MB, free: 8.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.09924, allocations: 8 kB / 345.3 MB, free: 8.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001692/0.1009, allocations: 1.652 MB / 347 MB, free: 6.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.101, allocations: 19.44 kB / 347 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.101, allocations: 24 kB / 347 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.1011, allocations: 103.8 kB / 347.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.1021, allocations: 0.507 MB / 347.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.1034, allocations: 2.165 MB / 349.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.1044, allocations: 91.92 kB / 349.9 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.1045, allocations: 84 kB / 350 MB, free: 3.473 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.0007102/0.1052, allocations: 299.8 kB / 350.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.1055, allocations: 286.5 kB / 350.5 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.1075, allocations: 1.234 MB / 351.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.1075, allocations: 20 kB / 351.8 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1075, allocations: 4 kB / 351.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.1075, allocations: 11.95 kB / 351.8 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1208/0.2283, allocations: 3.864 MB / 355.7 MB, free: 76.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2283, allocations: 3.25 kB / 355.7 MB, free: 76.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.2289, allocations: 260.8 kB / 355.9 MB, free: 76.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.2294, allocations: 257.8 kB / 356.2 MB, free: 76.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.2295, allocations: 39.59 kB / 356.2 MB, free: 76.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.2319, allocations: 7.033 MB / 363.3 MB, free: 70.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2319, allocations: 5.609 kB / 363.3 MB, free: 70.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.234, allocations: 1.703 MB / 365 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.2346, allocations: 373.2 kB / 365.3 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.2347, allocations: 34.22 kB / 365.4 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.2352, allocations: 62.47 kB / 365.4 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2354, allocations: 117.1 kB / 365.5 MB, free: 70.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.2354, allocations: 39.28 kB / 365.6 MB, free: 70.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008076/0.2362, allocations: 0.93 MB / 366.5 MB, free: 70.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2362, allocations: 2.875 kB / 366.5 MB, free: 70.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00241/0.2386, allocations: 0.6566 MB / 367.2 MB, free: 70.23 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.0002885/0.2389, allocations: 176.5 kB / 367.3 MB, free: 70.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.2406, allocations: 1.197 MB / 368.5 MB, free: 69.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2407, allocations: 7.469 kB / 368.5 MB, free: 69.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.2418, allocations: 1.098 MB / 369.6 MB, free: 69.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.2435, allocations: 0.5178 MB / 370.2 MB, free: 69.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008482/0.252, allocations: 6.048 MB / 376.2 MB, free: 66.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.2528, allocations: 0.9339 MB / 377.1 MB, free: 66.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001101/0.2539, allocations: 318.7 kB / 377.5 MB, free: 66.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.255, allocations: 0.5839 MB / 378 MB, free: 66.44 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.255, allocations: 0 / 378 MB, free: 66.44 MB / 330.7 MB Notification: Performance of Templates: time 0.03614/0.2912, allocations: 31.55 MB / 409.6 MB, free: 37.86 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 -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.7806950421072543]