Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9655/0.9655, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 3.938 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.597e-05, allocations: 5.969 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01287/0.01288, allocations: 16.44 MB / 284.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008143/0.02103, allocations: 5.347 MB / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.02259, allocations: 123.2 kB / 289.9 MB, free: 432 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1184/0.1409, allocations: 1.24 MB / 291.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00538/0.1463, allocations: 1.708 MB / 292.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.1488, allocations: 1.041 MB / 293.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006954/0.1558, allocations: 5.301 MB / 299.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.159, allocations: 2.229 MB / 301.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005926/0.165, allocations: 3.652 MB / 305.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.1686, allocations: 2.478 MB / 307.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.1697, allocations: 0.6051 MB / 308.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.1713, allocations: 0.8214 MB / 309 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008103/0.1721, allocations: 1.464 MB / 310.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002712/0.1748, allocations: 1.799 MB / 312.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.1808, allocations: 4.217 MB / 316.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1808, allocations: 0 / 316.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1808, allocations: 0 / 316.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002082/0.181, allocations: 0 / 316.5 MB, free: 5.742 MB / 266.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.007735/0.1887, allocations: 5.563 MB / 322 MB, free: 136 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1888, allocations: 8.922 kB / 322.1 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.1919, allocations: 1.411 MB / 323.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.1963, allocations: 2.801 MB / 326.3 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.1965, allocations: 303.8 kB / 326.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.1969, allocations: 404.3 kB / 327 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005338/0.2023, allocations: 3.185 MB / 330.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-05/0.2024, allocations: 7.172 kB / 330.2 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.2026, allocations: 171.9 kB / 330.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.2028, allocations: 164 kB / 330.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.2059, allocations: 1.521 MB / 332 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.2222, allocations: 13.44 MB / 345.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.225, allocations: 2.389 MB / 347.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.2263, allocations: 0.8884 MB / 348.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004485/0.2308, allocations: 3.009 MB / 351.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.2308, allocations: 50.7 kB / 351.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 2.955e-06/0.2308, allocations: 0 / 351.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.005978/0.2368, allocations: 3.616 MB / 355.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2368, allocations: 68.72 kB / 355.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.2387, allocations: 1.824 MB / 357.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.2388, allocations: 57.7 kB / 357.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.2398, allocations: 2.005 MB / 359.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.2402, allocations: 0.5849 MB / 359.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/0.2407, allocations: 421.7 kB / 360.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2408, allocations: 480.8 kB / 360.8 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.2413, allocations: 304.1 kB / 361.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/0.2423, allocations: 1.342 MB / 362.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.244, allocations: 1.812 MB / 364.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.244, allocations: 8 kB / 364.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002437/0.2464, allocations: 1.805 MB / 366.1 MB, free: 3.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2464, allocations: 16 kB / 366.1 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.2465, allocations: 20 kB / 366.1 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.2467, allocations: 105.9 kB / 366.2 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.2478, allocations: 0.5243 MB / 366.7 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.249, allocations: 2.2 MB / 368.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.2499, allocations: 95.91 kB / 369 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.25, allocations: 96.06 kB / 369.1 MB, free: 340 kB / 314.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 (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.0007697/0.2507, allocations: 309.4 kB / 369.4 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.251, allocations: 282.7 kB / 369.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.2529, allocations: 1.356 MB / 371.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2529, allocations: 20 kB / 371.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.2529, allocations: 7.984 kB / 371.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.2529, allocations: 7.922 kB / 371.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.2587, allocations: 3.953 MB / 375 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2587, allocations: 3.938 kB / 375.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.2594, allocations: 277 kB / 375.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005974/0.2599, allocations: 269 kB / 375.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-05/0.26, allocations: 35.98 kB / 375.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.2642, allocations: 7.195 MB / 382.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2642, allocations: 4 kB / 382.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.2668, allocations: 1.862 MB / 384.7 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.2675, allocations: 390.3 kB / 385.1 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.2676, allocations: 30.88 kB / 385.1 MB, free: 0 / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.2681, allocations: 75.94 kB / 385.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.2683, allocations: 124.5 kB / 385.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.2684, allocations: 39.98 kB / 385.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.2696, allocations: 1.02 MB / 386.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2696, allocations: 0 / 386.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00167/0.2712, allocations: 0.664 MB / 387 MB, free: 14.07 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 (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.0003275/0.2716, allocations: 182.6 kB / 387.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.2735, allocations: 1.303 MB / 388.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2735, allocations: 4.062 kB / 388.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.2748, allocations: 1.161 MB / 389.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.2763, allocations: 0.5077 MB / 390.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.2842, allocations: 6.096 MB / 396.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009512/0.2852, allocations: 0.9373 MB / 397.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.2863, allocations: 466.7 kB / 397.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.2866, allocations: 156.5 kB / 397.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2866, allocations: 0 / 397.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of Templates: time 0.04175/0.3284, allocations: 30.37 MB / 428.2 MB, free: 5.359 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9467100366018713]