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.0009242/0.0009242, allocations: 80.92 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.0009734/0.0009734, allocations: 170.6 kB / 25.7 MB, free: 8.438 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.8379/0.8379, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.392e-06/1.392e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.629e-05, allocations: 2.312 kB / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01304/0.01306, allocations: 15.83 MB / 267.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009992/0.02305, allocations: 5.564 MB / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.02487, allocations: 115.2 kB / 273.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.02745, allocations: 1.275 MB / 274.3 MB, free: 360 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.03075, allocations: 1.653 MB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.0328, allocations: 1.068 MB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.03772, allocations: 5.33 MB / 282.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.04052, allocations: 2.191 MB / 284.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.0446, allocations: 3.657 MB / 288.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.04748, allocations: 2.51 MB / 290.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009942/0.04847, allocations: 0.6016 MB / 291.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.04968, allocations: 0.816 MB / 292.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.05071, allocations: 1.46 MB / 293.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.05234, allocations: 1.797 MB / 295.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.05653, allocations: 4.221 MB / 299.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.05653, allocations: 0 / 299.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05654, allocations: 0 / 299.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.519e-05/0.05657, allocations: 0 / 299.6 MB, free: 6.863 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.007219/0.06379, allocations: 5.162 MB / 304.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.06382, allocations: 11.98 kB / 304.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/0.06779, allocations: 1.3 MB / 306.1 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.07063, allocations: 1.711 MB / 307.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.07083, allocations: 300.5 kB / 308.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/0.07131, allocations: 400.3 kB / 308.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.07532, allocations: 3.008 MB / 311.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.07539, allocations: 3.938 kB / 311.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.07571, allocations: 168 kB / 311.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.07586, allocations: 172 kB / 311.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.0784, allocations: 1.19 MB / 313 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.09081, allocations: 10.6 MB / 323.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.09287, allocations: 1.958 MB / 325.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008369/0.09371, allocations: 0.7141 MB / 326.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00349/0.0972, allocations: 2.302 MB / 328.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.09724, allocations: 63.8 kB / 328.7 MB, free: 9.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 2.955e-06/0.09724, allocations: 4 kB / 328.7 MB, free: 9.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.003739/0.101, allocations: 2.614 MB / 331.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.101, allocations: 68.72 kB / 331.4 MB, free: 6.293 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1021, allocations: 1.517 MB / 332.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.1021, allocations: 53.7 kB / 332.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008848/0.103, allocations: 1.618 MB / 334.6 MB, free: 3.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.1033, allocations: 0.5693 MB / 335.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.1037, allocations: 391.6 kB / 335.5 MB, free: 2.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.1037, allocations: 305.1 kB / 335.8 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.104, allocations: 239.3 kB / 336 MB, free: 1.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.1047, allocations: 0.9444 MB / 337 MB, free: 264 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.1057, allocations: 1.404 MB / 338.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1057, allocations: 4 kB / 338.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001333/0.1071, allocations: 1.311 MB / 339.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1071, allocations: 20 kB / 339.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.1071, allocations: 24 kB / 339.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.1073, allocations: 85.67 kB / 339.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/0.1082, allocations: 0.507 MB / 340.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.1093, allocations: 1.506 MB / 341.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.1099, allocations: 100 kB / 341.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.11, allocations: 72 kB / 342 MB, free: 10.79 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.0005617/0.1106, allocations: 259.9 kB / 342.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.1108, allocations: 187.8 kB / 342.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.112, allocations: 1.05 MB / 343.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.112, allocations: 19.94 kB / 343.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.112, allocations: 4 kB / 343.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.112, allocations: 7.969 kB / 343.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.1152, allocations: 3.007 MB / 346.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.1152, allocations: 7.938 kB / 346.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.1158, allocations: 263.9 kB / 346.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.1162, allocations: 241.5 kB / 347 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.1163, allocations: 35.98 kB / 347.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.1193, allocations: 5.124 MB / 352.2 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1193, allocations: 0 / 352.2 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1146/0.2339, allocations: 1.396 MB / 353.6 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.2345, allocations: 247.6 kB / 353.8 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.2346, allocations: 36.47 kB / 353.9 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.2351, allocations: 63.77 kB / 353.9 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.2353, allocations: 115.6 kB / 354 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.2353, allocations: 33.06 kB / 354.1 MB, free: 76.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006523/0.236, allocations: 0.7534 MB / 354.8 MB, free: 76.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.236, allocations: 0 / 354.8 MB, free: 76.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001491/0.2375, allocations: 0.66 MB / 355.5 MB, free: 76.84 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.0002393/0.2377, allocations: 155 kB / 355.6 MB, free: 76.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.2388, allocations: 1.04 MB / 356.7 MB, free: 76.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.259e-05/0.2389, allocations: 25.06 kB / 356.7 MB, free: 76.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.2395, allocations: 0.8936 MB / 357.6 MB, free: 76.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2406, allocations: 0.5119 MB / 358.1 MB, free: 76.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.2467, allocations: 5.885 MB / 364 MB, free: 73.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.2473, allocations: 0.7617 MB / 364.8 MB, free: 73.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007093/0.248, allocations: 319.1 kB / 365.1 MB, free: 73.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/0.2488, allocations: 0.5207 MB / 365.6 MB, free: 73.5 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2488, allocations: 3.406 kB / 365.6 MB, free: 73.5 MB / 330.7 MB Notification: Performance of Templates: time 0.03463/0.2834, allocations: 30.86 MB / 396.5 MB, free: 48.4 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.6141553297638893]