Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008015/0.0008014, allocations: 90.33 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 12 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2766, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02347/0.3001, allocations: 26.62 MB / 401.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.3168, allocations: 8.021 MB / 409.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00619/0.323, allocations: 155.5 kB / 409.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005602/0.3287, allocations: 1.254 MB / 411.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00994/0.3386, allocations: 2.454 MB / 413.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.343, allocations: 1.07 MB / 414.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01283/0.3558, allocations: 10.06 MB / 424.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02239/0.3783, allocations: 11.8 MB / 436.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.3844, allocations: 3.122 MB / 439.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006409/0.3909, allocations: 3.638 MB / 443.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002125/0.393, allocations: 480 kB / 443.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.3971, allocations: 0.8121 MB / 444.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.3998, allocations: 1.565 MB / 446.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007737/0.4075, allocations: 3.634 MB / 449.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.4231, allocations: 13.12 MB / 462.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.4232, allocations: 0 / 462.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4232, allocations: 0 / 462.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005235/0.4237, allocations: 0 / 462.9 MB, free: 8.605 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.02408/0.4478, allocations: 8.183 MB / 471.1 MB, free: 336 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4479, allocations: 11.97 kB / 471.1 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02684/0.4747, allocations: 5.286 MB / 476.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.486, allocations: 4.652 MB / 481 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006013/0.4867, allocations: 0.5377 MB / 481.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/0.4892, allocations: 0.7069 MB / 482.3 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02952/0.5188, allocations: 11.26 MB / 493.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/0.5191, allocations: 23.8 kB / 493.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/0.5207, allocations: 300 kB / 493.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004263/0.5212, allocations: 439 kB / 494.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2292/0.7504, allocations: 10.74 MB / 0.4932 GB, free: 95.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06632/0.8168, allocations: 38.12 MB / 0.5304 GB, free: 69.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.8311, allocations: 28.07 MB / 0.5578 GB, free: 38.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004049/0.8352, allocations: 2.64 MB / 0.5604 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.8476, allocations: 7.944 MB / 0.5682 GB, free: 28.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.8477, allocations: 60.56 kB / 0.5682 GB, free: 28.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.538e-06/0.8477, allocations: 0 / 0.5682 GB, free: 28.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01728/0.865, allocations: 10.34 MB / 0.5783 GB, free: 17.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00156/0.8666, allocations: 1.913 MB / 0.5802 GB, free: 15.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/0.8717, allocations: 3.795 MB / 0.5839 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000393/0.8721, allocations: 61.7 kB / 0.584 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.8737, allocations: 3.543 MB / 0.5874 GB, free: 8.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007565/0.8745, allocations: 0.8315 MB / 0.5882 GB, free: 7.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.8747, allocations: 100 kB / 0.5883 GB, free: 7.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.8749, allocations: 0.4968 MB / 0.5888 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.8773, allocations: 1.872 MB / 0.5906 GB, free: 4.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.8807, allocations: 4.369 MB / 0.5949 GB, free: 15.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/0.8887, allocations: 6.764 MB / 0.6015 GB, free: 7.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.375e-05/0.8888, allocations: 27.94 kB / 0.6015 GB, free: 7.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01246/0.9013, allocations: 6.944 MB / 0.6083 GB, free: 396 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.9014, allocations: 40.97 kB / 0.6084 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.9015, allocations: 88 kB / 0.6084 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.9035, allocations: 0.736 MB / 0.6092 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/0.9073, allocations: 1.123 MB / 0.6103 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.9145, allocations: 5.217 MB / 0.6153 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/0.9187, allocations: 307.1 kB / 0.6156 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007596/0.9195, allocations: 276 kB / 0.6159 GB, free: 8.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005127/0.9246, allocations: 2.524 MB / 0.6184 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.9257, allocations: 383.2 kB / 0.6187 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007369/0.9331, allocations: 4.257 MB / 0.6229 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.9331, allocations: 28 kB / 0.6229 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.9331, allocations: 8 kB / 0.6229 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.9331, allocations: 15.95 kB / 0.6229 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.023/0.9562, allocations: 14.27 MB / 0.6369 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.9562, allocations: 8 kB / 0.6369 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.958, allocations: 484 kB / 0.6373 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.96, allocations: 0.6932 MB / 0.638 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.9602, allocations: 63.98 kB / 0.6381 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009057/0.9693, allocations: 6.949 MB / 0.6449 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001668/0.971, allocations: 1.862 MB / 0.6467 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.9811, allocations: 6.706 MB / 0.6532 GB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/0.9833, allocations: 0.7967 MB / 0.654 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006192/0.9839, allocations: 63.98 kB / 0.6541 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.9856, allocations: 171.8 kB / 0.6542 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/0.9861, allocations: 217.9 kB / 0.6544 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.217/1.203, allocations: 85.08 kB / 0.6545 GB, free: 147 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00484/1.208, allocations: 2.484 MB / 0.657 GB, free: 146.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.208, allocations: 0 / 0.657 GB, free: 146.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006594/1.215, allocations: 1.296 MB / 0.6582 GB, free: 146.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007463/1.215, allocations: 214.3 kB / 0.6584 GB, free: 146.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009551/1.225, allocations: 5.117 MB / 0.6634 GB, free: 145.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.836e-05/1.225, allocations: 3.031 kB / 0.6634 GB, free: 145.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004487/1.229, allocations: 2.402 MB / 0.6658 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/1.241, allocations: 0.9451 MB / 0.6667 GB, free: 143.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/1.266, allocations: 14.66 MB / 0.681 GB, free: 135.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00445/1.271, allocations: 4.383 MB / 0.6853 GB, free: 133.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.272, allocations: 334.4 kB / 0.6856 GB, free: 133 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/1.272, allocations: 4 kB / 0.6856 GB, free: 133 MB / 442.7 MB Notification: Performance of Templates: time 0.3686/1.641, allocations: 199.6 MB / 0.8805 GB, free: 94.43 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches